UNPKG

hytopia

Version:

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

95 lines (43 loc) 1.28 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [server](./server.md) &gt; [VoxelsColliderOptions](./server.voxelscollideroptions.md) ## VoxelsColliderOptions interface The options for a voxels collider. **Signature:** ```typescript export interface VoxelsColliderOptions extends BaseColliderOptions ``` **Extends:** [BaseColliderOptions](./server.basecollideroptions.md) ## Properties <table><thead><tr><th> Property </th><th> Modifiers </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> [coordinates?](./server.voxelscollideroptions.coordinates.md) </td><td> </td><td> [Vector3Like](./server.vector3like.md)<!-- -->\[\] </td><td> _(Optional)_ The coordinate of each voxel in the collider. </td></tr> <tr><td> [shape](./server.voxelscollideroptions.shape.md) </td><td> </td><td> [ColliderShape.VOXELS](./server.collidershape.md) </td><td> </td></tr> <tr><td> [size?](./server.voxelscollideroptions.size.md) </td><td> </td><td> [Vector3Like](./server.vector3like.md) </td><td> _(Optional)_ The size of each voxel in the collider. </td></tr> </tbody></table>