The Joystick can be used by players to play your game like a traditional Game Controller joystick or analogue stick. The Joystick outputs values based on the direction and magnitude it is being pushed.
https://www.youtube.com/shorts/FyKyVSBXfT4?feature=share
Enabled | Enable or disable to node. Disabled Nodes cannot output links or data |
Remember Old Value | Saves the value from the last joystick position to be used as a starting value in the next joystick usage. |
Analog | Determines if the joystick value is interpolated between Min and Max. When off, the value can only be either Min or Max. |
Enable Smooth Step | Smoothens the input from the joystick. |
Lock Start Position | Makes the position of the joystick be in a fixed place when you start touching it. |
Draggable | Makes it possible to drag the joystick around. |
Preview | Preview the Joystick in the Editor without Playtesting |
“On End” When Disable Cancels Touch | When enabled, On End is executed when the node is disabled. |
Visibility | Determines the visibility of the joystick. |
Type | Select between 3 different Joystick Types. X-Axis = Horizontal movement only Y-Axis = Vertical movement only XY-Axis = 360 degree range of motion |
Align X | Select the horizontal placement of the Joystick |
Align Y | Select the vertical placement of the Joystick |
Touch Area Size | Sets the area in which the joystick can be used. |
Color | Select the color of the Joystick from available UI Colors or create a new color |
Icon Color | Select the color of the Joystick Icon from available UI Colors or create a new color |
Appearance | Choose between different visual styles for the Joystick |
Icon | Select an Icon to appear on your Joystick to help players understand what it does |
Description | Select between preset descriptions or create custom text to appear on the Joystick to help players understand what it does |
Touch Start | Output signals or values when the player first touches the joystick. |
Touch End | Output signals or values when the player releases the joystick. |
Move: Magnitude Min / Max | Magnitude represents the distance from the middle of the Joystick. Min Value is when it's in the middle, and Max Value is when it's at the border. |
Move: Axis X Min / Max | Set the minimum and maximum values the Joystick will Output relative to it's position on the X-axis left to right. |
Move: Axis Y Min / Max | Set the minimum and maximum values the Joystick will Output relative to it's position on the Y-axis top to bottom. |
Move: Angle | Outputs joystick's relative angle ranging from -180 to 180. |
Joystick has small dead zone in the middle where no Move values are output.
Here's a link to the hype that shows how to implement and use the Joystick node: