hytopia
Version:
The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.
95 lines (43 loc) • 1.22 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [server](./server.md) > [TrimeshColliderOptions](./server.trimeshcollideroptions.md)
## TrimeshColliderOptions interface
The options for a trimesh collider.
**Signature:**
```typescript
export interface TrimeshColliderOptions 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>
[indices?](./server.trimeshcollideroptions.indices.md)
</td><td>
</td><td>
Uint32Array
</td><td>
_(Optional)_ The indices of the trimesh collider.
</td></tr>
<tr><td>
[shape](./server.trimeshcollideroptions.shape.md)
</td><td>
</td><td>
[ColliderShape.TRIMESH](./server.collidershape.md)
</td><td>
</td></tr>
<tr><td>
[vertices?](./server.trimeshcollideroptions.vertices.md)
</td><td>
</td><td>
Float32Array
</td><td>
_(Optional)_ The vertices of the trimesh collider.
</td></tr>
</tbody></table>