nargil
13-08-2008 17:13:36
How can i render shapes in my ogre application ? createDebugRenderer(mSceneMgr) does'nt do anything. Tried also putting camera in wireframe mode, and i see no addinational shapes after creating the debug renderer.
NxOgre 1.0'21 bleeding
Ogre 1.4.6
nargil
15-08-2008 00:18:32
Sorry, I'm an idiot. Just needed to add a framelistener with
mWorld->simulate(evt...);
mWorld->render(evt...);
[noticed it, after my objects didn't fall

]
Although I didn't have to do this in 0.9 for the physX simulation to work.
betajaen
15-08-2008 09:37:35
You can also do "time-controller: ogre" in the World params, for world to create one for you. But your way is just as good.