Click or drag to resize

WorldRemove Method (Body)

Destroy a rigid body. Warning: This automatically deletes all associated shapes and joints. Warning: This method is locked during callbacks.

Namespace:  Internal.tainicom.Aether.Physics2D.Dynamics
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public virtual void Remove(
	Body body
)

Parameters

body
Type: Internal.tainicom.Aether.Physics2D.DynamicsBody
The body.
Exceptions
ExceptionCondition
InvalidOperationExceptionThrown when the world is Locked/Stepping.
See Also