Fixed
Re: Making Bullet Meshes Visible
Once you made objects of your meshes and put them in your collision world you can use the debug drawer that comes with bullet.
It is present as interface under LinearMath -> btIDebugDraw
The debug drawer has some basic drawing stuff in it (lines, spheres, triangle, aabb's etc) others you might need to implement using btIDebugDraw.
I Myself use the implementation provided by osgBullet, you can check that one out and use it to make your own implementation with Ogre3D.
It is present as interface under LinearMath -> btIDebugDraw
The debug drawer has some basic drawing stuff in it (lines, spheres, triangle, aabb's etc) others you might need to implement using btIDebugDraw.
I Myself use the implementation provided by osgBullet, you can check that one out and use it to make your own implementation with Ogre3D.
Re: Making Bullet Meshes Visible
!
Last edited by WoeMogget on Wed Dec 12, 2012 4:07 pm, edited 1 time in total.
Re: Making Bullet Meshes Visible
It probably hangs/crashes on
Check how it is used in the demos
Code: Select all
debugDrawer->setDebugMode(1);