hytopia
Version:
The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.
50 lines (24 loc) • 715 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [server](./server.md) > [RigidBody](./server.rigidbody.md) > [(constructor)](./server.rigidbody._constructor_.md)
## RigidBody.(constructor)
Constructs a new instance of the `RigidBody` class
**Signature:**
```typescript
constructor(options: RigidBodyOptions);
```
## Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
options
</td><td>
[RigidBodyOptions](./server.rigidbodyoptions.md)
</td><td>
The options for the rigid body instance.
</td></tr>
</tbody></table>