Parameter | Description |
---|---|
shapes | The shapes to destroy. |
updateBodyMass | Whether to update the body mass configuration. Not doing so is faster, especially when destroying multiple shapes. |
Destroy a batch of shapes, destroying all Contact the shapes are involved in. Any invalid shapes will be ignored including chain segment shapes created via a PhysicsChain (the chain must be destroyed)." Owned shapes will produce a warning and will not be destroyed (See PhysicsShape.SetOwner). See MassConfiguration.