Game Development Community

Death animation rotation / sidestep issues

by Bret Snyder · in Torque Game Engine · 03/10/2007 (6:25 am) · 1 replies

I was able to actually get the death animation functioning after looking through several forum threads. It no longer crashes, but when my character does die, he doesn't rotate correctly to conform to the ground. Instead of rotating correctly by falling forward, he falls backward and even at that, only at a slight angle. He dies at about a 25 degree angle.

The second character issue I'm running into deals with the reverse animation of the sidestep. Is there anything special that must be done in order for this animation to play in reverse? Currently, pressing A and D play the same animation.

#1
03/10/2007 (11:22 am)
I believe I've fixed them both. I originally had the bounds box animating with the rotation of the falling character (which seemed odd), but it seems like this shouldn't be done. The only thing the bounds box needs are 2 keyframes (no actual animation). As for the sidestepping, the animation was playing in reverse, but my sidestep animation was more of a diagonal run than a sidestep. Reanimating for an actual sidestep fixed that problem.