Unable to play animation with .dts file
by Nirman · in Torque Developer Network · 12/11/2010 (7:54 am) · 1 replies
Hello Everyone,
I want to play animation using a .dts file, in my case i am using reinstatedsoldier.dts file which i downloaded from the tutorial page link. I am accessing a 3D shape in a 2D game. First i tried to load
"reinstatedsoldier.dts" at run time and it won't appear on the output console. I tried to drag and drop the 3D shape from TGB this would let it appear on the console but when i try to play animation the console says
"Cannot play animation shape has no animation"
Could anyone please tell me how to create the 3D shape at runtime and play the .dsq file with it.
I tried accessing the function like getDetailsCount() and it responds with correct value 7. Only thing i cannot do is play animation. Please let me know where am i going wrong. Tutorial has confused me a bit now.
Thanks in advance.
I want to play animation using a .dts file, in my case i am using reinstatedsoldier.dts file which i downloaded from the tutorial page link. I am accessing a 3D shape in a 2D game. First i tried to load
"reinstatedsoldier.dts" at run time and it won't appear on the output console. I tried to drag and drop the 3D shape from TGB this would let it appear on the console but when i try to play animation the console says
"Cannot play animation shape has no animation"
Could anyone please tell me how to create the 3D shape at runtime and play the .dsq file with it.
I tried accessing the function like getDetailsCount() and it responds with correct value 7. Only thing i cannot do is play animation. Please let me know where am i going wrong. Tutorial has confused me a bit now.
Thanks in advance.
About the author
Nirman