Game Development Community

Speeding up an animation

by Josh Moore · in Torque Game Engine · 04/25/2004 (1:24 pm) · 3 replies

I'm having trouble speeding up/slowing down animations. I've seen alot of post that say this is easily possible, but I can't get it to work. I'm using this to call the animation.
mShapeInstance->setTimeScale(mArmAnimation.thread,timeScale);

If I make timescale greater than one, the animation will play at the same speed, but the player will just stay in the animation's start position. I could really use some help on this.

#1
04/28/2004 (4:27 pm)
Anyone? I'm using this code to try to speed up a melee animation I'm using this resource as a base. www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=5377
#2
06/16/2004 (11:25 am)
I was just about to ask this same question. It would be very useful to be able to control the animation speeds from script.
#3
02/25/2005 (1:48 pm)
@Josh

did you ever figure this out? I'm looking into doing the same sorts of stuff now.

I can see how to do it but it looks like I'll have to put code in to get the timescale changes from the server to the client, it'd be nice if this were already done somewhere and I'm just not seeing it :) ...of course!