Issues with cyclic animation and playThread/stopThread
by Terence Tan · in Torque Game Engine · 04/04/2007 (11:17 pm) · 0 replies
Hi,
I have a upper body blended cyclic animation that I use playThread(0, "anim") to play. I am facing an odd problem where I 'stop' the animation but it doesn't seem to remove or reset the animation thus 'corrupting' the root idle animation that is playing (i.e. the root animation and the last frame of the cycle animation seems to be in play, because i can simulate this in show tools pro).
In show tools pro, there is a way to 'delete' an active thread. I can't seem to find an equivalent script function that does this. I have looked at the end ShapeBase code and tried resetting the animation to no avail.
I have a upper body blended cyclic animation that I use playThread(0, "anim") to play. I am facing an odd problem where I 'stop' the animation but it doesn't seem to remove or reset the animation thus 'corrupting' the root idle animation that is playing (i.e. the root animation and the last frame of the cycle animation seems to be in play, because i can simulate this in show tools pro).
In show tools pro, there is a way to 'delete' an active thread. I can't seem to find an equivalent script function that does this. I have looked at the end ShapeBase code and tried resetting the animation to no avail.
About the author