forked from mtcontrib/mobs_redo
fixed mount mob rotation
This commit is contained in:
parent
e3515482cc
commit
bc86a32af6
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user