model animation improvement
parent
da58eb03f5
commit
748e1413b2
Binary file not shown.
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue