<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [server](./server.md) &gt; [RigidBody](./server.rigidbody.md) &gt; [removeFromSimulation](./server.rigidbody.removefromsimulation.md)

## RigidBody.removeFromSimulation() method

Removes the rigid body from the simulation it belongs to.

**Signature:**

```typescript
removeFromSimulation(): void;
```
**Returns:**

void

## Remarks

\*\*Child colliders:\*\* Also removes all child colliders from the simulation.

\*\*Side effects:\*\* Unregisters the rigid body and all attached colliders.

\*\*Category:\*\* Physics

