mirror of
https://github.com/APercy/automobiles_pck
synced 2025-10-14 05:03:05 +02:00
fix model bones
This commit is contained in:
parent
42221e6b24
commit
5a91b85460
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -313,10 +313,10 @@ function automobiles_lib.on_activate(self, staticdata, dtime_s)
|
|||||||
steering:set_attach(self.steering_axis,'',{x=0,y=0,z=0},{x=0,y=0,z=0})
|
steering:set_attach(self.steering_axis,'',{x=0,y=0,z=0},{x=0,y=0,z=0})
|
||||||
self.steering = steering
|
self.steering = steering
|
||||||
else
|
else
|
||||||
self.object:set_bone_override("drive_adjust", {
|
--[[self.object:set_bone_override("drive_adjust", {
|
||||||
position = {self._drive_wheel_pos},
|
position = {self._drive_wheel_pos},
|
||||||
rotation = {self._drive_wheel_angle}
|
rotation = {self._drive_wheel_angle}
|
||||||
})
|
})]]--
|
||||||
|
|
||||||
--self.object:set_bone_position("drive_adjust", self._drive_wheel_pos, {x=self._drive_wheel_angle, y=0, z=0})
|
--self.object:set_bone_position("drive_adjust", self._drive_wheel_pos, {x=self._drive_wheel_angle, y=0, z=0})
|
||||||
end
|
end
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user