lordmonkey
17-04-2011 13:52:50
Hello,
I have a problem with basic NxOgre program. First of all I wanted to ask if there are some more NxOgre tutorials on the web besides this on the github ?
Secondly I have my simple piece of code :
(NxOgre::) mBody = mRenderSystem->createBody(NxOgre::BoxDescription(1,1,1), NxOgre::Matrix44::IDENTITY, "cube.1m.mesh", bodyDescription);
How can I scale this box ? I know how to do it in the Ogre but I have no idea how to do it with NxOgre entity. I know that if I change the BoxDescription() to bigger e.g. (3,3,3) the collision box with grow. Bot how to change the renderable box size ?
I have a problem with basic NxOgre program. First of all I wanted to ask if there are some more NxOgre tutorials on the web besides this on the github ?
Secondly I have my simple piece of code :
(NxOgre::) mBody = mRenderSystem->createBody(NxOgre::BoxDescription(1,1,1), NxOgre::Matrix44::IDENTITY, "cube.1m.mesh", bodyDescription);
How can I scale this box ? I know how to do it in the Ogre but I have no idea how to do it with NxOgre entity. I know that if I change the BoxDescription() to bigger e.g. (3,3,3) the collision box with grow. Bot how to change the renderable box size ?