Static Methods

Below is a list of all the static methods available in the Ultimate Joystick class.

Method
Description

GetHorizontalAxis

Returns a float value between -1 and 1 representing the horizontal value of the Ultimate Joystick.

GetVerticalAxis

Returns a float value between -1 and 1 representing the vertical value of the Ultimate Joystick.

GetHorizontalAxisRaw

Returns a raw value of -1, 0 or 1 representing the raw horizontal value of the Ultimate Joystick.

GetVerticalAxisRaw

Returns raw a value of -1, 0 or 1 representing the raw vertical value of the Ultimate Joystick.

GetDistance

Returns a float value between 0 and 1 representing the distance of the joystick from the base.

GetInputActive

Returns if the players input is currently active on this joystick or not.

GetAngle

Returns the current angle that the joystick is from the center in degrees.

Disable

Disables the Ultimate Joystick object.

Enable

Enables the Ultimate Joystick.

InputInRange

Checks to see if the provided input is within range of the Ultimate Joystick.

Last updated

Was this helpful?