Character animation
by Xenes · in Torque 3D Beginner · 08/07/2010 (9:33 am) · 3 replies
hello all,
I have a problem with an animated model.
I can load it in the shape editor, where all works great (I see all the animation parts and the model moves), but in the object editor, it doesn't move.
I did exactly the same thing, what a video tutorial showed.
Only the file is another.
What could be my problem?
I have a problem with an animated model.
I can load it in the shape editor, where all works great (I see all the animation parts and the model moves), but in the object editor, it doesn't move.
I did exactly the same thing, what a video tutorial showed.
Only the file is another.
What could be my problem?
#2
The problem was the name of the animation sequences-
after naming them 'ambient', it worked.
But now I have another question:
I want the model to move forwards, when I press the a button (for example).
How can I do it?
08/07/2010 (4:10 pm)
Thank you for the answer!The problem was the name of the animation sequences-
after naming them 'ambient', it worked.
But now I have another question:
I want the model to move forwards, when I press the a button (for example).
How can I do it?
#3
Good luck!
08/07/2010 (5:35 pm)
That will take more 'scripting'....or you make that 'geometry' a Player Class object, which has the hookups for keyboard event inputs....otherwise you'll need to script some sort of transform on the object with a ServerCommand, me thinks. That type of answer is more 'coding/scripting' based than 'art' based; which seemed to be where the help needed at first glance. This is now definitely in 'gameplay'/'scripting' area.Good luck!
Torque Owner Rex
BrokeAss Games
In the 'World Editor', you need to have it's animations scripted....or named as the default 'ambient', for items, statics. Player objects have a specific list they can playback depending upon event input or callbacks.
Or you can directly grab the ID number and run the animation with playThread(), setArmThread(), setActionThread() to check the sequence inside the engine.