Game Development Community

To move or not to move

by Sean · in Artist Corner · 05/19/2006 (6:47 am) · 3 replies

Lots of game engines suggest you to move the figure during the animation. In other works: if you do a walk cycle you drag the character along the direction path. I think the main idea is to prevent moon walking. Is this the suggested method in Torque as well? I see some examples and tutorials out there dont follow this method.

#1
05/19/2006 (9:27 am)
Depends on your game. keep in mind, that when you move a character during an animation, you're actually moving it relative to it's bounding box, so the engine will think the characters stationary and collision will be evaluated at the stationary position, afaik.
#2
05/19/2006 (4:16 pm)
Sean,
Yes, Torque uses a similar technique to prevent moon walking. You animated the character actually moving during its walk cycle including its bounding box. When you export the character you make to flag the walk sequence as a "ground transform" animation. The engine will then use the distance that the bounding box travels to calculate the speed to play the animation over that distance covered. It then will scale the animation as the player speeds up or slows down and is covering smaller distances.
#3
05/24/2006 (7:02 am)
Matt Fairfax, this is what I have read also. Do you know of a good tutorail that may brake this down better.