How to pause an animation started by setActionThread?
by weihua · in Torque 3D Professional · 06/27/2010 (11:58 pm) · 6 replies
e.g. if a bot is running. I shoot it with a freezing bullet.
I want the bot's animation also freeze at the time it is hit.
I can not find function like pauseThead to pause an animation started by setActionThread.
Anyone can give me a direction? Thanks a lot!
I want the bot's animation also freeze at the time it is hit.
I can not find function like pauseThead to pause an animation started by setActionThread.
Anyone can give me a direction? Thanks a lot!
About the author
TD of Beijing Pixel Software Technology Joint-Stock Co., Ltd.
#2
I think there is no slot for action thread.
setThreadTimescale(slot, 0) may be as same as pauseThread(slot).
I still don't figure out how to pause an animation started by setActionThread, not playthread.
06/28/2010 (6:23 pm)
Thank you Konrad. But can setThreadTimescale affect actionthread?I think there is no slot for action thread.
setThreadTimescale(slot, 0) may be as same as pauseThread(slot).
I still don't figure out how to pause an animation started by setActionThread, not playthread.
#3
06/29/2010 (2:36 am)
Oh, right, sorry about that, weihua, I wasn't paying enough attention to your post.
#4
06/29/2010 (5:34 pm)
That's OK. Still thanks for your answer :-)
#5
06/29/2010 (6:18 pm)
I would think you would want to extend your play sequences and threads. Perhaps you could see if the plastic gem about animation threads applys to you?
#6
I just want to know if T3D engine offer such a function like pause the animation started by setActionThread. Because all move actions are played by setActionThread. I want to know if there is some way to pause such animations.
06/29/2010 (10:15 pm)
Thank you JesseL.I just want to know if T3D engine offer such a function like pause the animation started by setActionThread. Because all move actions are played by setActionThread. I want to know if there is some way to pause such animations.
Associate Konrad Kiss
Bitgap Games