public void RemoveShape(CollisionShape shape)
        {
            com.RemoveChildShape(shape.BulletShape);
            var index = shapes.IndexOf(shape);

            shapes.RemoveAt(index);
            transforms.RemoveAt(index);
        }
        /// <summary>
        /// Removes a child shape.
        /// </summary>
        /// <param name="shape">The shape.</param>
        public void RemoveChildShape(ColliderShape shape)
        {
            colliderShapes.Remove(shape);

            InternalCompoundShape.RemoveChildShape(shape.InternalShape);

            shape.Parent = null;
        }