mirror of
https://github.com/APercy/automobiles_pck
synced 2025-11-14 02:37:59 +01:00
fix arm neutral angle
This commit is contained in:
parent
5dd8b99d13
commit
90e53c0030
@ -384,8 +384,8 @@ minetest.register_entity("automobiles_vespa:vespa", {
|
||||
--player:set_bone_position("Arm_Left", {x=3.0, y=5, z=-arm_range-armZ}, {x=240-(self._steering_angle/2), y=0, z=0})
|
||||
--player:set_bone_position("Arm_Right", {x=-3.0, y=5, z=armZ}, {x=240+(self._steering_angle/2), y=0, z=0})
|
||||
if self.driver_mesh then
|
||||
self.driver_mesh:set_bone_position("Arm_Left", {x=3.0, y=5, z=-armZ-0.5}, {x=65-(self._steering_angle/2), y=0, z=0})
|
||||
self.driver_mesh:set_bone_position("Arm_Right", {x=-3.0, y=5, z=armZ+1.5}, {x=65+(self._steering_angle/2), y=0, z=0})
|
||||
self.driver_mesh:set_bone_position("Arm_Left", {x=3.0, y=5, z=-armZ-0.5}, {x=76-(self._steering_angle/2), y=0, z=0})
|
||||
self.driver_mesh:set_bone_position("Arm_Right", {x=-3.0, y=5, z=armZ+1.5}, {x=76+(self._steering_angle/2), y=0, z=0})
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user