1
0
mirror of https://codeberg.org/tenplus1/mobs_redo.git synced 2024-12-24 17:50:21 +01:00

fixed mount mob rotation

This commit is contained in:
TenPlus1 2017-01-22 20:13:03 +00:00
parent e3515482cc
commit bc86a32af6

View File

@ -196,7 +196,10 @@ function mobs.drive(entity, moving_anim, stand_anim, can_fly, dtime)
end end
--entity.object:setyaw(entity.driver:get_look_yaw() - rot_steer) --entity.object:setyaw(entity.driver:get_look_yaw() - rot_steer)
entity.object:setyaw(entity.driver:get_look_horizontal())-- - rot_steer) -- entity.object:setyaw(entity.driver:get_look_horizontal())-- - rot_steer)
-- fix mob rotation
entity.object:setyaw(entity.driver:get_look_horizontal() - entity.rotate)
if can_fly then if can_fly then