HieghtField Collision?

SFCBias

26-06-2010 06:06:44

It doesn't seem as though the hieghtfield collision is working (the overload that takes Ogre::Terrain as a parameter) And was wondering if anyone has managed to get this collision working. If not then i guess ill have to look into it.

Morth

29-07-2010 15:00:57

Warn me if you have anything.

SFCBias

29-07-2010 18:13:03

I've been working pretty diligently on it. I've taken the approach of creating a manual object of the terrain and then running it through the createTreeCollision Function with the terrain as an entity. But I haven't found a way to get triangles out of the terrain, Only points which can't be converted to mesh.

Beauty

09-08-2010 14:09:11

There is a similar thread which includes a code snippet.
Maybe it helps you.
viewtopic.php?f=4&t=11696

SFCBias

24-08-2010 01:40:58

Sorry i've been gone for a while (and will be gone a while longer until i get time due to school and other engagements) but i've already gotten hieghtfield collision to work but it's through pure newton so im going to try to implement to changes in OgreNewt ASAP but only when I return.