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?
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?