UNPKG

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
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [server](./server.md) &gt; [Collider](./server.collider.md) &gt; [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