fixed mount mob rotation

This commit is contained in:
TenPlus1 2017-01-22 20:13:03 +00:00
parent e3515482cc
commit bc86a32af6
1 changed files with 4 additions and 1 deletions

View File

@ -196,7 +196,10 @@ function mobs.drive(entity, moving_anim, stand_anim, can_fly, dtime)
end
--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