Game Development Community

Jump" animation not working from "idle

by thud · in Torque Game Engine Advanced · 06/11/2007 (12:30 pm) · 2 replies

I'm stumped on two questions related to "jump" animations.

I have an idle, run, and jump animation. Priorities are 1,1,3 respectively. (fire and look up/down are at 2).

Question one:
How do you get a "jump" animation to work from "idle?" If I run around and jump, the "jump" animation plays, but if I just stand there and jump, nothing happens, the player just floats up and then back down. Thoughts?


Question two:
While running, if I jump, the "jump" animation plays, but only briefly before it begins the "run" cycle in-game. Any ideas on how to stretch out that animation? It is a fairly long animation and threads correctly in ShowToolPro, but doesn't seem to be working in-game.


Thanks for any help!

*thud*

#1
06/11/2007 (1:17 pm)
There is a second animation called standjump that plays when you jump while standing.

*edit*

sequence28 = "./player_standjump.dsq standjump";

Just change as needed for sequence number and dsq name and it should work.
#2
06/11/2007 (1:51 pm)
*sigh* that was too easy.

Thanks a ton Anthony!

*thud*