Max2Dts - Exporting an embedded anim.
by Chris Mooney · in Torque Game Engine · 09/03/2008 (10:22 am) · 4 replies
Does anyone know if there is anything particular to do if exporting a DTS with embedded animations?
I'm working on several vehicles this week all having embedded animations - so far none of the animations have played when using the vehicle in-game. I don't know whether its something I'm not doing right - whether something special has to be done, or I'm not getting the correct sequence node names?
On one test I added "%obj.playThread" to the "onAdd" part of the vehicle code and exported the animation as a DSQ - which worked, but adding "playThread" is not a viable solution for some of the vehicles.
Any advice on this would be great. :)
Chris
I'm working on several vehicles this week all having embedded animations - so far none of the animations have played when using the vehicle in-game. I don't know whether its something I'm not doing right - whether something special has to be done, or I'm not getting the correct sequence node names?
On one test I added "%obj.playThread" to the "onAdd" part of the vehicle code and exported the animation as a DSQ - which worked, but adding "playThread" is not a viable solution for some of the vehicles.
Any advice on this would be great. :)
Chris
About the author
#2
09/16/2008 (2:13 pm)
I believe there are certain animations which need to be named correctly for them to work. you'll have to look on the TDN to find out what they are called.
#3
09/16/2008 (2:40 pm)
In theory if you name your sequence 'ambient' it should work. Not sure about the vehicles animation, there are resources for doors on vehicles (implies animation) and Content packs with this feature.
#4
09/16/2008 (3:43 pm)
Vehicles don't have any native animations (other than an ifl brakelight). Adding them to your source would be quite simple if you are comfortable with code, otherwise scripting them is your only option.
Torque 3D Owner Peter Pedersen
Wandering Willow
-any particular reason for keeping it in a single file?