Can anyone help me with animating a dts?
by Chris Hine · in Torque Game Engine · 05/15/2004 (10:15 am) · 4 replies
Hi everyone, i am working through the 'getting started with torque' tutorials and everything is going well apart from the animations. I am on the animating dts files tutorial (www.garagegames.com/docs/torque/general/ch07.php#chapter.scripting2.animatingdts) and i can get my objects into the world editor creator under static shapes (without animations) but they don't show up in the shapes section. I have the same problem with the flag files at the bottom of the page, which should work. Could anyone please have a quick look at the tutorial and explain to me what is wrong with the code provided? Thankyou for your time.
#2
05/15/2004 (12:19 pm)
Thanks for the ideas matt, i exec'ed the script and it compiled fine, but the shape still only shows up in the static shapes folder so i can't animate it. If anyone could help me get the model listed in the animated shapes folder it would be greatly appreciated.
#3
05/15/2004 (2:14 pm)
I just realised that I hadn't put the .cs file in the server scripts directory, the shape came up in the shapes browser as it should when i changed the directory and added the exec command, thanks for your help, you saved me a lot of hassle.
Torque Owner mm
where did you put the code snippet into? Did you put it in a new file? If so you'll need to have it have it executed, like:
exec("starter.fps/server/scripts/mynewfile.cs");
in server/scripts/game.cs.
If you did so already deleting the corresponding .dso file might help. Good luck!
Matt