Post your questions, suggestions and experiences regarding game design, integration of external libraries here. For irrEdit, irrXML and irrKlang, see the
ambiera forums
Nadro
Posts: 1648 Joined: Sun Feb 19, 2006 9:08 am
Location: Warsaw, Poland
Post
by Nadro » Tue May 29, 2007 10:53 am
Hi. I need use btConvexTriangleMeshShape for Collision detection, but How Can convert IMesh to btTriangleMesh??
Code: Select all
btTriangleMesh* BMesh2 = [HOW FUNCTION](mesh0->getMesh(0));
btCollisionShape* pObjectShape = new btConvexTriangleMeshShape(BMesh2);
Maybe some tutorial?:)
Nadro
Posts: 1648 Joined: Sun Feb 19, 2006 9:08 am
Location: Warsaw, Poland
Post
by Nadro » Tue May 29, 2007 4:23 pm
OK. I solved my problem:)
GameDude
Posts: 498 Joined: Thu May 24, 2007 12:24 am
Post
by GameDude » Tue May 29, 2007 10:16 pm
Please edit your posts instead of double posting