Search found 1 match

by tjohns20
Sat Dec 17, 2011 10:02 pm
Forum: Project Announcements
Topic: irrBullet and TerrainSceneNode
Replies: 22
Views: 7956

Re: irrBullet and TerrainSceneNode

This is the quick and extremely dirty solution I found for this:

scene::CDynamicMeshBuffer meshBuffer(video::EVT_2TCOORDS, video::EIT_16BIT);
terrain->getMeshBufferForLOD(meshBuffer, 0);
scene::SMesh mesh;
mesh.addMeshBuffer(&meshBuffer);
ICollisionShape* shape = new IBvhTriangleMeshShape ...