Why is'nt my object rendering?
by Johnathan Moore · in Torque Game Engine Advanced · 01/28/2007 (10:01 am) · 3 replies
Hey, Im having problems getting my custom object class to render (its based on the RTSUnit from the RTS Kit).
Does anyone have any suggestions why It wouldnt?
A Few Things:
The shape works as a player object
The object is being networked
Its parent class is player
Render Image Function is not called
Milestone 4.1
Please post if you need to know anything else.
Does anyone have any suggestions why It wouldnt?
A Few Things:
The shape works as a player object
The object is being networked
Its parent class is player
Render Image Function is not called
Milestone 4.1
Please post if you need to know anything else.
#2
i have the function
but it does not get called
01/29/2007 (12:45 pm)
No its not a material problem because it works in the player class using the exact same shapefilei have the function
void Unit::renderObject(SceneState* state)
{
Con::errorf("blaa");
//ShapeBase::renderImage(state);
}but it does not get called
#3
RenderInst * ri)
i think that should be it but i cant try it :(
i get my new laptop on thursday so ill have to set up visual studio again...
01/30/2007 (11:14 am)
Maybe its missing this parameter so its not being called?RenderInst * ri)
i think that should be it but i cant try it :(
i get my new laptop on thursday so ill have to set up visual studio again...
Torque Owner Dave