Composite Shapes.

DevO
Posts: 95
Joined: Fri Mar 31, 2006 7:13 pm

Composite Shapes.

Post by DevO »

Is there possibiliti to create composite shapes im Bullet?
Just like MultiSphereShape but from any shape.

Another questions, is there Capsule shape?
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Post by Erwin Coumans »

Is there possibiliti to create composite shapes im Bullet?
Just like MultiSphereShape but from any shape.
You can do the Minkowski sum and convex hull of other shapetypes.
But there is not a concave composite shape yet. It is on the todo list, combined inertia needs to be calculated.
Another questions, is there Capsule shape?
Yes, you can create a capsule from 2 spheres, using the MultiSphereShape.