Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 593 Bytes

JOYSTICK_TYPE.md

File metadata and controls

21 lines (16 loc) · 593 Bytes

JOYSTICK_TYPE

Type: float

Determines what the output value of joystick(vec3,float) is.

Used by

Values

JOYSTICK_TYPE_XZ
JOYSTICK_TYPE_SCREEN
JOYSTICK_TYPE_XZ

Value: 0

Outputs XZ vector values perpendicular to camera direction (while assuming that the screen is always facing straight to a certain axis).

JOYSTICK_TYPE_SCREEN

Value: 1

Outputs XY vector values regardless of where the camera is facing.