hytopia
Version:
The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.
82 lines (38 loc) • 1.26 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [server](./server.md) > [WedgeColliderOptions](./server.wedgecollideroptions.md)
## WedgeColliderOptions interface
The options for a wedge collider.
Use for: wedge-shaped colliders (inclined planes). Do NOT use for: other shapes; use the matching collider option type.
\*\*Category:\*\* Physics
**Signature:**
```typescript
export interface WedgeColliderOptions 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>
[extents?](./server.wedgecollideroptions.extents.md)
</td><td>
</td><td>
[Vector3Like](./server.vector3like.md)
</td><td>
_(Optional)_ The extents of the wedge collider, defining full width (x), height (y), and length (z).
\*\*Category:\*\* Physics
</td></tr>
<tr><td>
[shape](./server.wedgecollideroptions.shape.md)
</td><td>
</td><td>
[ColliderShape.WEDGE](./server.collidershape.md)
</td><td>
</td></tr>
</tbody></table>