hytopia
Version:
The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.
26 lines (14 loc) • 650 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [server](./server.md) > [Collider](./server.collider.md) > [removeFromSimulation](./server.collider.removefromsimulation.md)
## Collider.removeFromSimulation() method
Removes the collider from the simulation.
**Signature:**
```typescript
removeFromSimulation(): void;
```
**Returns:**
void
## Remarks
\*\*Parent unlinking:\*\* Unlinks from parent rigid body if attached.
\*\*Side effects:\*\* Removes the collider from the simulation and unlinks it from any parent rigid body.
\*\*Category:\*\* Physics