mikachu
11-09-2007 20:10:26
Hi,
I've got the latest NxOgre 0.9 from SVN and PhysX 2.7.2.
I compiled everything happily with VC8 Express, and tried NxOgre with a very simple sample :
The crash is in the call to mScene::createBody, more precisely the line:
I did a little bit of debugging, and the debugger shows that at this point, the"this" pointer points to some odd place, because it is modified during the call to
BTW, all files needed are there, and there's nothing wrong in Ogre.log.
I've got the latest NxOgre 0.9 from SVN and PhysX 2.7.2.
I compiled everything happily with VC8 Express, and tried NxOgre with a very simple sample :
World *mWorld = new World();
Scene* mScene = mWorld->createScene("Main",mSceneMgr, "gravity: yes, floor: yes");
Body *myBody = mScene->createBody("mybody; barrel.mesh",new CubeShape(1,1,1),Vector3(0,3.5,0), "mass: 10");
The crash is in the call to mScene::createBody, more precisely the line:
mActors.lock(body->getName(), true);
I did a little bit of debugging, and the debugger shows that at this point, the"this" pointer points to some odd place, because it is modified during the call to
Body* body = new Body(identifier, this, firstShapeDescription, pose, params);
BTW, all files needed are there, and there's nothing wrong in Ogre.log.