nested compound shapes: are the child-transforms relevant?

MajorNr01
Posts: 7
Joined: Sun Aug 04, 2013 8:44 pm

nested compound shapes: are the child-transforms relevant?

Post by MajorNr01 »

I am using nested btCompoundShapes in a static (0 mass) rigid body, in order to maintain a sort of grouping of multiple shapes. Additionally I am using btCompoundShape's dbvt feature to accelerate collision detection. Basically I am trying to construct static world geometry using different kinds of shapes (primitives, convex point clouds, etc.), trying to avoid using btBvhTriangleMeshShape. As I said, I am also nesting compound shapes to create grouping.

Question is: Does it matter where I put the compound shapes inside their parent compound shapes, or can I simply keep them at the origin, while translating the actual collision shapes to their respective positions?