help with controlling animation
by Tim Lei · in Torque Game Engine · 05/16/2002 (2:12 am) · 1 replies
Hello experts!
Now I believe that animation sequences are not triggered by keys. Instead, keys change some states or variables, and animation sequences are played according to the states the shape is in, such as running forward or jumping.
However, the problem is that it is really confusing which object is responsible for which purpose.
Now, I know TSShapeConstructor takes animation sequences name strings. But then what does it do with it? Does it load the actual sequence to the resource, which is of TSShape type?
So if I want to change the animation sequences of the game, for instance, if I want to make animation of a monster, who doesn't run ro walk, but move in a weird way, or I actually have to change is the animationlist in player class, and the sequence definitoin in tsshapeconstructor. Is that correct?
I am far from certain about this because the engine is very complicated without proper comments.
Thanks for your valuable advice and help!
Now I believe that animation sequences are not triggered by keys. Instead, keys change some states or variables, and animation sequences are played according to the states the shape is in, such as running forward or jumping.
However, the problem is that it is really confusing which object is responsible for which purpose.
Now, I know TSShapeConstructor takes animation sequences name strings. But then what does it do with it? Does it load the actual sequence to the resource, which is of TSShape type?
So if I want to change the animation sequences of the game, for instance, if I want to make animation of a monster, who doesn't run ro walk, but move in a weird way, or I actually have to change is the animationlist in player class, and the sequence definitoin in tsshapeconstructor. Is that correct?
I am far from certain about this because the engine is very complicated without proper comments.
Thanks for your valuable advice and help!
Torque 3D Owner Frank Bignone
Darkhand Studio