hytopia
Version:
The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.
54 lines (26 loc) • 769 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [server](./server.md) > [SimpleEntityController](./server.simpleentitycontroller.md) > [jump](./server.simpleentitycontroller.jump.md)
## SimpleEntityController.jump() method
Applies an upwards impulse to the entity to simulate a jump, only supported for entities with dynamic rigid body types.
**Signature:**
```typescript
jump(height: number): void;
```
## Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
height
</td><td>
number
</td><td>
The height to jump to.
</td></tr>
</tbody></table>
**Returns:**
void