I need to set an object’s active to false just before the animation of which it is a child ends. Is there a way to, say, detect which frame of the animation is playing?
What about breaking the animation into two with the import settings, and then go :
Play animation 1,
do stuff,
play animation2
via script?
AC
There is a time variable. You might do something like
if (animation ["MyAnimation"].time > 0.5)
{
active = false;
}
Thanks Daniel! You know too much for your own good methinks.