Telling OgreODE to use the world geometry as a ground plane

hoelzro

09-09-2008 17:59:22

Hello, everyone,

I'm currently using OgreODE for physics in my application, and I'm using SceneManager::setWorldGeometry to set up terrain. Is there an easy way to tell OgreODE to use the world geometry as the ground plane?

Thanks for any help,
Rob

rewb0rn

11-09-2008 18:35:50

Well there is no such thing as "the" ground plane in OgreOde, but you can probably create a OgreOde::Geometry from your terrain.

hoelzro

12-09-2008 16:59:15

Thanks for the reply! That's what I was thinking about doing, but I don't know of a way to get the StaticGeometry that Ogre is using for the terrain. I'll ask on the Ogre forums about that.

Thanks again,
Rob