Rendering ShapeBase
by Arinthian · in Torque 3D Beginner · 02/23/2011 (12:02 pm) · 2 replies
Hi,
I've been playing around with T3D for a while, learning what I can, but I've been trying to create a ShapeBase derived object for my player (because my player follows unusual movement and the player class has too much "baggage" for my liking.) but the one thing I cannot work out is how to get a ShapeBase derived object to actually render it's shapeFile.
I've been looking at the item class to look for clues, but I just don't seem to be getting anywhere.
It would be fantastic if anyone could help me or lead me in the right direction.
I've been playing around with T3D for a while, learning what I can, but I've been trying to create a ShapeBase derived object for my player (because my player follows unusual movement and the player class has too much "baggage" for my liking.) but the one thing I cannot work out is how to get a ShapeBase derived object to actually render it's shapeFile.
I've been looking at the item class to look for clues, but I just don't seem to be getting anywhere.
It would be fantastic if anyone could help me or lead me in the right direction.
#2
turns out I need to write a datablock as well, I was trying
to use a ShapeBase datablock.
Thanks for your help anyway.
02/27/2011 (10:16 pm)
Yes, but I managed to figure it out.turns out I need to write a datablock as well, I was trying
to use a ShapeBase datablock.
Thanks for your help anyway.
Torque 3D Owner Sean H.