new FloatController()
Properties:
Name | Type | Description |
---|---|---|
speed |
number | The speed at which to move. |
shiftMultiplier |
number | A speed-up factor for when the shift key is pressed. |
pitch |
number | The current orientation pitch (rotation about the X axis). |
yaw |
number | The current orientation yaw (rotation about the Y axis). |
friction |
number | The amount of friction that will cause the movement to stop when there's no input. |
Extends
Members
-
entity
-
The target entity.
- Inherited From: