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