jensa
25-02-2008 16:37:21
Hello
Please , how can' I attached the body of NxOgre with the entity and scene node of Ogre?
Please , how can' I attached the body of NxOgre with the entity and scene node of Ogre?
jensa
25-02-2008 16:37:21
NickM
25-02-2008 17:30:44
jensa
25-02-2008 17:48:46
mBody->mEntity();
I have this error .\main.cpp(181) : error C2248: 'NxOgre::Body::mEntity' : cannot access protected member declared in class 'NxOgre::Body'
c:\ogresdk\nxogre\include\NxOgreBody.h(52) : see declaration of 'NxOgre::Body::mEntity'
c:\ogresdk\nxogre\include\NxOgreBody.h(28) : see declaration of 'NxOgre::Body'
jensa
25-02-2008 18:01:14
Body* mBody = mScene->createBody("ninja.mesh",new CubeShape(2.0f), Vector3(0,0,0), "Mass: 50");
SceneNode *node = mSceneMgr->getRootSceneNode()->createChildSceneNode( "RobotNode", Vector3( 500, 70, 500 ) );
ent=mBody->getEntity();
node->attachObject(ent );
SiWi
25-02-2008 18:45:08
betajaen
25-02-2008 18:47:41
jensa
25-02-2008 18:54:43
betajaen
25-02-2008 19:07:03
Artic_Ice83
25-02-2008 21:51:47