Game Development Community

Checking when an animation is done

by Alex Baaklini · in Torque Game Engine · 04/28/2003 (8:19 am) · 0 replies

In my code I have something like this:

lastSeq = getShape()->findSequence("startAnim");

if (seq != -1)
{ setThreadSequence(0, seq);
}

Now, what I would like to know, is how I can determine when the animation is done?

Thanks