Game Development Community

Animation question

by Howard Dortch · in Torque Game Engine · 09/22/2009 (9:50 pm) · 2 replies

I have a character that I want to fall to the ground like he's dead and stay that way until someone rescues him. I used setActionThread and he falls down but at the end of the anim he gets back up to root pose. I then used PlayThread and he falls down and stays there. His friends "rescue" him and I call setActionThread("root") but when he walks he stays in root pose, legs dont move.
Any hints on how to make him fall down stay for a time then get back up and walk/run normally?

#1
10/17/2009 (10:36 pm)
Bump, any anim wizzards out there?
#2
10/18/2009 (4:31 am)
Maybe try instead of setting the action thread when he is rescued, just stop the falling thread? I think to implement this cleanly you'll have to either modiufy the source code, or at least have a good long look at it, since the Player class does some pretty elaborate animation handling, and sometimes scripted threads interact with action threads in odd ways.