fix mobs shaking a lot
This commit is contained in:
parent
c500dc98f9
commit
090c5b086a
|
@ -365,7 +365,7 @@ local set_yaw = function(self, yaw, delay, dtime)
|
|||
ddtime = dtime
|
||||
end
|
||||
|
||||
if math.abs(target_shortest_path) > 120*ddtime then
|
||||
if math.abs(target_shortest_path) > 200*ddtime then
|
||||
if target_shortest_path > 0 then
|
||||
self.object:set_yaw(self.object:get_yaw()+3*ddtime)
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue