Game Development Community

Animation Problem

by Dennis Trevillyan · in Torque 3D Professional · 05/02/2011 (6:50 pm) · 1 replies

I'm using playThread(...) to play animations with an actor in my game. Using %player.playThread(1, "celdance"); makes Gideon do a dance and then stop. However after running this animation the walk animations no longer work correctly. When you move the character using the w, a, s or d keys he slides briefly and then the walk animation starts. When the walk animation stops the player jerks back into the root position as if several frames of the animation were skipped. The animations are stock torque dsq's.

If anyone has ideas on how to get around this it would be greatly appreciated.

#1
05/02/2011 (7:17 pm)
Using %player.setActionThread("celdance", true, true); eliminates the problem I described above.