Fixed
-
- Posts: 65
- Joined: Fri May 13, 2011 1:11 pm
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.
-
- Posts: 5
- Joined: Tue Nov 29, 2011 11:35 pm
Re: Making Bullet Meshes Visible
!
Last edited by WoeMogget on Wed Dec 12, 2012 4:07 pm, edited 1 time in total.
-
- Posts: 65
- Joined: Fri May 13, 2011 1:11 pm
Re: Making Bullet Meshes Visible
It probably hangs/crashes on
Check how it is used in the demos
Code: Select all
debugDrawer->setDebugMode(1);