//! Use this method for adding children. Only Convex shapes are allowed. public void AddChildShape(CollisionShape shape) { Debug.Assert(shape.IsConvex()); m_childShapes.Add(shape); }
//! Use this method for adding children. Only Convex shapes are allowed. public void AddChildShape(ref IndexedMatrix localTransform, CollisionShape shape) { Debug.Assert(shape.IsConvex()); m_childTransforms.Add(localTransform); m_childShapes.Add(shape); }