Game Development Community

1 movement animation

by ITT_019 Greenbay (#0020) · in Torque Game Engine · 08/22/2008 (7:41 am) · 3 replies

I was wondering if it would be possible to have 1 animation for all movement. I have a swirling pile of rocks and when it changes direction it resets the animation and makes it look jerky. So is there a way to have 1 animation playing all the time regardless of the object changing directions.

About the author

Recent Threads


#1
08/22/2008 (7:56 am)
The direction changes are coming from C++ based on velocity changes. There is no way that I know of to prevent that in script.
#2
08/22/2008 (10:43 pm)
I'd rename the rocks run/walk animations to something like customrun and customwalk. This would prevent the engine from calling them automatically. Then I'd call them using setactionthread or playthread. Just make sure they are cyclic and it should work fine.
#3
08/22/2008 (10:45 pm)
Good solution. :)