hytopia
Version:
The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.
82 lines (38 loc) • 1.2 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [server](./server.md) > [BlockColliderOptions](./server.blockcollideroptions.md)
## BlockColliderOptions interface
The options for a block collider.
Use for: axis-aligned box colliders. Do NOT use for: other shapes; use the matching collider option type.
\*\*Category:\*\* Physics
**Signature:**
```typescript
export interface BlockColliderOptions 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>
[halfExtents?](./server.blockcollideroptions.halfextents.md)
</td><td>
</td><td>
[Vector3Like](./server.vector3like.md)
</td><td>
_(Optional)_ The half extents of the block collider.
\*\*Category:\*\* Physics
</td></tr>
<tr><td>
[shape](./server.blockcollideroptions.shape.md)
</td><td>
</td><td>
[ColliderShape.BLOCK](./server.collidershape.md)
</td><td>
</td></tr>
</tbody></table>