コード例 #1
0
 //! Use this method for adding children. Only Convex shapes are allowed.
 public void AddChildShape(CollisionShape shape)
 {
     Debug.Assert(shape.IsConvex());
     m_childShapes.Add(shape);
 }
コード例 #2
0
 //! 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);
 }