SetActionThread and animations
by Bruno Grieco · in Torque Game Engine · 05/17/2004 (8:28 pm) · 4 replies
When I issue a setActionThread on a bot, I noticed that it doesn't change the animation right at once. Sometimes it takes 2 or 3 setActionThreads ( or even more ) to make it happen.
Is this supposed to be this way ??
How can I check the current animation ?
TIA
Is this supposed to be this way ??
How can I check the current animation ?
TIA
About the author
#2
I nopped this part of the code on Player.cc and setActionThread worked promptly.
10/28/2004 (1:10 pm)
Yep, the problem is that the Player and AIPlayer set their own animation thread based on what they are doing : running, falling, strafing, etc.I nopped this part of the code on Player.cc and setActionThread worked promptly.
#3
See related forum post.
10/28/2004 (1:22 pm)
Immediate response would require PlayThread(). SetActionThread() works as it should, without nopping code. (Whats a nop? :)) See related forum post.
#4
10/28/2004 (4:27 pm)
Nop = no operation,
Torque Owner Jason Doiron
I'm curious about this too. Did you figure this out?
Cheers!