FirstPersonControls
This class is an alternative implementation of [[FlyControls]].
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Anyclass Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
Dispose of the controls.
Dispose of the controls.
Attributes
Must be called if the application window is resized.
Must be called if the application window is resized.
Attributes
Rotates the camera towards the defined target position.
Rotates the camera towards the defined target position.
Attributes
Update the controls. Call this method every frame.
Update the controls. Call this method every frame.
Attributes
Inherited methods
Attributes
- Inherited from:
- Object
Attributes
- Inherited from:
- Object
Attributes
- Inherited from:
- Object
Attributes
- Inherited from:
- Object
Attributes
- Inherited from:
- Object
Concrete fields
Whether it's possible to look around or not.
Whether it's possible to look around or not.
Attributes
Whether the camera is automatically moved forward or not.
Whether the camera is automatically moved forward or not.
Attributes
Whether or not looking around is vertically constrained by verticalMin and verticalMax.
Whether or not looking around is vertically constrained by verticalMin and verticalMax.
Attributes
Determines how much faster the camera moves when it's y-component is near heightMax.
Determines how much faster the camera moves when it's y-component is near heightMax.
Attributes
Upper camera height limit used for movement speed adjustment.
Upper camera height limit used for movement speed adjustment.
Attributes
Lower camera height limit used for movement speed adjustment.
Lower camera height limit used for movement speed adjustment.
Attributes
Whether or not the camera's height influences the forward movement speed. Use the properties heightCoef, heightMin and heightMax for configuration.
Whether or not the camera's height influences the forward movement speed. Use the properties heightCoef, heightMin and heightMax for configuration.
Attributes
The look around speed.
The look around speed.
Attributes
Whether it's possible to vertically look around or not.
Whether it's possible to vertically look around or not.
Attributes
Whether the mouse is pressed down or not.
Whether the mouse is pressed down or not.
Attributes
The movement speed.
The movement speed.
Attributes
How far you can vertically look around, upper limit. Range is 0 to Math.PI in radians.
How far you can vertically look around, upper limit. Range is 0 to Math.PI in radians.
Attributes
How far you can vertically look around, lower limit. Range is 0 to Math.PI in radians.
How far you can vertically look around, lower limit. Range is 0 to Math.PI in radians.