forked from VoxeLibre/VoxeLibre
Attempt to fix sliding by disabling self-asassinating feature
This commit is contained in:
parent
ae486fa525
commit
d491046409
|
@ -355,9 +355,10 @@ function mob_class:set_yaw(yaw, delay, dtime)
|
|||
|
||||
if math.abs(target_shortest_path_nums) > 5 then
|
||||
self.object:set_yaw(self.object:get_yaw()+(target_shortest_path*(3.6*ddtime)))
|
||||
--[[
|
||||
if self.acc then
|
||||
self.acc=vector.rotate_around_axis(self.acc,vector.new(0,1,0), target_shortest_path*(3.6*ddtime))
|
||||
end
|
||||
end]]
|
||||
end
|
||||
|
||||
delay = delay or 0
|
||||
|
|
Loading…
Reference in New Issue