API

Class FreeCameraGamepadInput

Manage the gamepad inputs to control a free camera.

Implements

Index
camera: FreeCamera

Define the camera the input is attached to.

deadzoneDelta: number = 0.1

Defines the minimum value at which any analog stick input is ignored. Note: This value should only be a value between 0 and 1.

gamepad: Nullable<Gamepad>

Define the Gamepad controlling the input

gamepadAngularSensibility: number = 200

Defines the gamepad rotation sensibility. This is the threshold from when rotation starts to be accounted for to prevent jittering.

gamepadMoveSensibility: number = 40

Defines the gamepad move sensibility. This is the threshold from when moving starts to be accounted for for to prevent jittering.