jpeg
23-02-2010 08:17:52
Hello,
I updated the NxOgre new version (1.6.1031), and now the visualDebugger doesn't work.
For initialisation, i use :
and during the physx update of the scene, i do :
What must i do in order to solve this problem , please ?
I updated the NxOgre new version (1.6.1031), and now the visualDebugger doesn't work.
For initialisation, i use :
mSceneMgr = sceneMgr;
mWorld = NxOgre::World::createWorld();
mVisualDebugger = mWorld->getVisualDebugger();
mTimeController = NxOgre::TimeController::getSingleton();
mVisualDebuggerRenderable = new OGRE3DRenderable(NxOgre::Enums::RenderableType_VisualDebugger);
mVisualDebugger->setRenderable(mVisualDebuggerRenderable);
mVisualDebuggerNode = mSceneMgr->getRootSceneNode()->createChildSceneNode();
mVisualDebuggerNode->attachObject(mVisualDebuggerRenderable);
mVisualDebugger->setVisualisationMode(NxOgre::Enums::VisualDebugger_ShowAll);
and during the physx update of the scene, i do :
mVisualDebugger->draw();
mVisualDebuggerNode->needUpdate(true);
What must i do in order to solve this problem , please ?