Creating Meshmask in Bullet

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Nash94
Posts: 20
Joined: Fri Aug 31, 2012 3:21 pm

Creating Meshmask in Bullet

Post 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.
smso
Posts: 246
Joined: Fri Jun 04, 2010 3:28 pm
Location: Hong Kong

Re: Creating Meshmask in Bullet

Post 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
hendu
Posts: 2600
Joined: Sat Dec 18, 2010 12:53 pm

Re: Creating Meshmask in Bullet

Post by hendu »

You have many examples of this, just read how one of the many bullet wrappers do it.
Nash94
Posts: 20
Joined: Fri Aug 31, 2012 3:21 pm

Re: Creating Meshmask in Bullet

Post by Nash94 »

Thanks got many leads to look into now.
Nash94
Posts: 20
Joined: Fri Aug 31, 2012 3:21 pm

Re: Creating Meshmask in Bullet

Post 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
Post Reply