I'm trying to to create a compound shape pretty much in the same way I did in my C++ code.
- Create three shapes (two
btCylinderShape
, and onebtConeShape
) - Create a compund shape using the tree individual shapes (btCompoundShape)
- Create a rigid body
btRigidBody
using the compound shape passing a transformation matrix with some translation
How can it be done in blender?
AFAIK, the option in Properties view panel>Physics tab>CollisionBounds disclosure triangle>Compound has to be enabled for the three bodies, and one of them needs to be the parent, while the other two are its children.
This works pretty well, but I need to add some offset to the parent too, as the picture shows, how can it be done?
Using a fourth empty body as a parent would introduce an additional shape, that would mess the hole thing.
Is there a way to add an additional transformation to the physics shape attached to a mesh?
I'm currently using Blender v2.67b for Mac