Game Development Community

Character Animation

by UZON · in Torque Game Engine · 01/28/2008 (8:55 am) · 4 replies

I did an character, made the animation in 3D Max 9 as DSQ and opened it in the ShowTool Pro, this was with no problem. But when i load the same character in the Torque, the animation dont play.

How can i find the problem?
How the animation thing works in the ShowToolPro?
What is the real difference in playthread, setArmThread and setActionthread?

#1
01/29/2008 (8:33 pm)
For a character to animate properly, i believe you need a full set of animation. That is, you need root (idle animation), run (forward movement), back (backward movement), side (sideways movement), jump (jump that transitions into the falling animation... played when the player is running and jumps), fall (basically just a few frames of what the player in the air with his legs compressed upward, as if he's falling), land (animation tha t fall transitions into), and standjump (full jump/land animation that plays when the player jumps while not moving).

Not sure WHY it requires these - and I MAY be off base... but I don't think I am.

A quick way to get around this is to export the same basic animation multiple times, just renaming the sequence helper each time. This way you have placeholder stuff and can test your animations as you finish them.
#2
02/05/2009 (6:09 pm)
That's actually not true. You can have a character in game and have only a few animations done and exported (for example: run and root) and it will play the ones that are done in the appropriate spots.

I know this thread is over a year old, but I wanted to at least put that note in here.

What has a greater chance of affecting your animations is making sure the .dsq files are set up right, and making sure that if you have more than one character in game, that the animation files have different names. If you have an orc and and elf, then the orc's forward animation might be orc_forward.dsq and the elf's forward animation should be different, like : elf_forward.dsq

#3
03/27/2009 (7:05 pm)
I just wanted to add, those 7 basic animations mentioned are hard coded in player.cc. If you want to add things like swim.dsq or crawl.dsq , you have to add those to the engine.
#4
05/18/2009 (4:44 am)
Hi Infinitum3D,
Can u tell me where to change that engine code to bring custom animation like punch,kick.