Page 1 of 1

Creating Meshmask in Bullet

Posted: Tue Sep 04, 2012 3:04 pm
by Nash94
So i've loaded a model, but i need to give Bullet a shape for collisions. What is the easiest way i can do this? Besides creating a box or an oval around my model? :D
Any Bullet experienced people or any demos or tutorials that I can use?

I have looked into the btBvhTriangleMeshShape function, but not sure how i'm going to use it around a specific model.

Any help greatly appreciated.

Re: Creating Meshmask in Bullet

Posted: Tue Sep 04, 2012 4:16 pm
by smso
I would load the model in Blender and create a convex mesh around the model. The mesh, which should be simpler than the model, is used for bullet stimulation.

Regards,
smso

Re: Creating Meshmask in Bullet

Posted: Tue Sep 04, 2012 4:53 pm
by hendu
You have many examples of this, just read how one of the many bullet wrappers do it.

Re: Creating Meshmask in Bullet

Posted: Tue Sep 04, 2012 5:07 pm
by Nash94
Thanks got many leads to look into now.

Re: Creating Meshmask in Bullet

Posted: Tue Sep 04, 2012 7:55 pm
by Nash94
Okay so i've created the model and want to know how i can load this .bullet file with irrlicht.
I have a .3ds model and corresponding .bullet