forked from VoxeLibre/VoxeLibre
disable smooth rotation
This commit is contained in:
parent
fa47f7cf06
commit
6cb9e936fc
|
@ -309,7 +309,10 @@ end
|
||||||
|
|
||||||
-- set and return valid yaw
|
-- set and return valid yaw
|
||||||
local set_yaw = function(self, yaw, delay, dtime)
|
local set_yaw = function(self, yaw, delay, dtime)
|
||||||
|
if true then
|
||||||
|
self.object:set_yaw(yaw)
|
||||||
|
return yaw
|
||||||
|
end
|
||||||
if not yaw or yaw ~= yaw then
|
if not yaw or yaw ~= yaw then
|
||||||
yaw = 0
|
yaw = 0
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue