Talking characters
by Neil Marshall · in Torque Game Engine · 02/23/2002 (11:32 am) · 3 replies
In my game, if someone presses T and writes something, I want the character to move it's mouth as if it's talking.
Now, if they're running and they talk, how would I play the 2 animations at once? The mesh is solid and I'm using bones to move it. Is it possible to have a second bone structure to control the mouth which can be played at anytime?
Now, if they're running and they talk, how would I play the 2 animations at once? The mesh is solid and I'm using bones to move it. Is it possible to have a second bone structure to control the mouth which can be played at anytime?
#2
02/23/2002 (2:21 pm)
How do I set this up?
#3
Use your .cfg files to control your node structure for the animation export so that you don't get conflicting node animatin in the different DSQs. Then play the facial animation on a different thread than your movement animations.
Set it up and test it in the showtool first, and then you will have to figure out how to make it work in script or code. I have done this before as a test, but I never went so far as to get it working in the game itself.
It might take a little work to get it running in-game.
02/23/2002 (3:41 pm)
Just build a character rig with a facial skeleton.Use your .cfg files to control your node structure for the animation export so that you don't get conflicting node animatin in the different DSQs. Then play the facial animation on a different thread than your movement animations.
Set it up and test it in the showtool first, and then you will have to figure out how to make it work in script or code. I have done this before as a test, but I never went so far as to get it working in the game itself.
It might take a little work to get it running in-game.
Torque Owner Joe Maruschak
Triggering it in game is a code/scripting issue, but it is possible.