Tano_ITA
12-06-2008 20:07:03
Hi,
i've this problem.. I need to activate the "Die" animation when two body collide.. So this is my userProcess:
But when a ball collide with my robot, the animation start just with the first frame.. But i want all animation.. I don't have problem with animation with the rest of project, but i don't know why in this case the animation start the first frame only..
anyone can help me? thank a lot..
Sorry for my bad english..
i've this problem.. I need to activate the "Die" animation when two body collide.. So this is my userProcess:
int RobotDieCallBacks::userProcess()
{
mAnimationRobot = entRobot->getAnimationState("Die");
mAnimationRobot->setEnabled(true);
return 1;
}
But when a ball collide with my robot, the animation start just with the first frame.. But i want all animation.. I don't have problem with animation with the rest of project, but i don't know why in this case the animation start the first frame only..
anyone can help me? thank a lot..
Sorry for my bad english..