model animation improvement

master
Alexsandro Percy 2021-12-03 12:15:26 -03:00
parent da58eb03f5
commit 748e1413b2
2 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@ -567,8 +567,8 @@ function supercub.flightstep(self)
if is_flying == false then --isn't flying?
--animate wheels
if math.abs(longit_speed) > 0.25 then
self.object:set_animation_frame_speed(longit_speed * 8)
if math.abs(longit_speed) > 0.1 then
self.object:set_animation_frame_speed(longit_speed * 20)
else
self.object:set_animation_frame_speed(0)
end