UNPKG

hytopia

Version:

The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.

18 lines (10 loc) 406 B
<!-- 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; [sleep](./server.rigidbody.sleep.md) ## RigidBody.sleep() method Explicitly puts the rigid body to sleep. Physics otherwise optimizes sleeping. **Signature:** ```typescript sleep(): void; ``` **Returns:** void