zrixter
06-04-2008 15:49:59
Hi!
I using NxOgre 0.9, and cakebox from this link.
http://www.ogre3d.org/phpBB2addons/viewtopic.php?t=4867
I was asking about how to change material for a body and betajaen solve the problem by asking me create an entity and load it up with createbody, but another problem come in when i try to select that particular object.
The program break here:
it seem that this line trying to get entity name, yet createbody use SceneNode, so is not match up?
I using NxOgre 0.9, and cakebox from this link.
http://www.ogre3d.org/phpBB2addons/viewtopic.php?t=4867
I was asking about how to change material for a body and betajaen solve the problem by asking me create an entity and load it up with createbody, but another problem come in when i try to select that particular object.
The program break here:
if (mSceneMgr->hasEntity(b->getEntity()->getName() + ".hilight")) {
b->getEntity()->setRenderQueueGroup(90);
it seem that this line trying to get entity name, yet createbody use SceneNode, so is not match up?