mirror of
https://codeberg.org/tenplus1/mobs_redo.git
synced 2024-12-24 01:30:22 +01:00
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
|
||||
|
||||
--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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user