[0.9] Convex-only physics shape?

Rusty06

15-05-2008 11:05:42

Ok, im new, so don't shout.

We're using 0.9 in our project. I need to be able to use Concave (or Triangle mesh shape) physics meshes for my vehicles.. is this possible? Even if i make a concave physics mesh and load it into my simulation, it turns into a convex object.. is that correct? or am i doing something wrong?

I need it to be a concave object, because im trying to add vehicles like a Semi-unit. Obviously if the physics mesh was convex, it would be impossible to attach a trailer....

Thanks in advance..
Russ

betajaen

15-05-2008 11:07:50

Convex Shapes are meant to be Convex, hence the name. Concave shapes can be made by splitting up the mesh into separate portions (and using shapes that best fit that feature) and then using them all together in a compound shape.

Rusty06

15-05-2008 11:14:00

Convex Shapes are meant to be Convex, hence the name.
Yes, i understand that much :P
Concave shapes can be made by splitting up the mesh into separate portions (and using shapes that best fit that feature) and then using them all together in a compound shape

Okay so, if i wanted an L-Shape collision mesh, then i make two Convexshape Boxes and join them together?

Hmm okay, i hoped it would be more simple than that, as i wanted my collision mesh to be only one file. But i guess i could implement Box Shape collision.. Thanks anyway!

betajaen

15-05-2008 11:46:23

I would use two Cubes instead of two Convex Meshes that look like boxes, but yes - You get the idea.