usage of OgreBullet for terrain and object collision

iisystem

04-10-2009 14:09:45

Hi,

I'm wondering how it is possible to use OgreBullet to do collision detection with heightmap-based terrain and objects on it.
Basically, I'm making something like FPS-shooter, and have a basic landscape with some objects. I want my "character" to go over the terrain and collide with these objects. But i'm completely lost how to do this with Bullet :( there is no "native" documentation at all, as well as on Wiki.

I've created CollisionsWorld, added some Objects to it, but I can't even make DebugDrawer working (i'm doing mWorld->setShowDebugShapes(true); but still see nothing)...

Does someone has experience with this?

Mr.Hankey

09-11-2009 17:01:17

I did this using bullet directly, without OgreBullet...take a look here: http://www.ogre3d.org/forums/viewtopic.php?f=5&t=51330