Issue with 3D Object and Animations.
by Nathan Huffman · in Torque Game Builder · 10/24/2006 (6:35 pm) · 1 replies
I've been trying to learn animations on 3d object using the tutorial on TDN and the model that tutorial provides.
However, I'm never successful. I've spawned an object in my level, given it the name "myguy" just for testing, but no matter what when I myguy.playanimation(move); it'll say there is no animations associated.
I've put the datablock required in my datablock.cs, and I see it's failing to preload. I noticed there is a naming conflict (when you unzip their model its called reinstatedsolider not just soldier, so I've tried compensating for that with no luck).
Looking at the TDN -> TGB -> 3d object tutorial, can anyone help me figure out what my problem may be? I just can't seem to get animations working at all here.
Also as a "side question", if TGB is going to preload all the models in my game because they have a datablock, isn't that a lot of unncessary preloading? A certain model may not be needed for levels and levels to come. Fill me in where I'm not thinking right.
I appreciate it. I've been reading the TDN/forums like crazy, and I've learned a lot of stuff via that, but 3d objects and certain visual elements had been eluding me.
thx in advance
However, I'm never successful. I've spawned an object in my level, given it the name "myguy" just for testing, but no matter what when I myguy.playanimation(move); it'll say there is no animations associated.
I've put the datablock required in my datablock.cs, and I see it's failing to preload. I noticed there is a naming conflict (when you unzip their model its called reinstatedsolider not just soldier, so I've tried compensating for that with no luck).
Looking at the TDN -> TGB -> 3d object tutorial, can anyone help me figure out what my problem may be? I just can't seem to get animations working at all here.
Also as a "side question", if TGB is going to preload all the models in my game because they have a datablock, isn't that a lot of unncessary preloading? A certain model may not be needed for levels and levels to come. Fill me in where I'm not thinking right.
I appreciate it. I've been reading the TDN/forums like crazy, and I've learned a lot of stuff via that, but 3d objects and certain visual elements had been eluding me.
thx in advance
Torque Owner Nathan Huffman
...but I'd really appreciate any time someone may spend responding to this post because I'm about to pull my hair out getting these animations assigned to my 3d object. Nothing works. Endless searching, following tutorital to the tee, ... nothing.
So, as they say, *bump* in hopes someone has the time. If not, I'll just keep plucking away ;)
Thanks in advance.