Joystick Analog

Description

The Joystick Analog behavior is an advanced behavior that will output the X and Y value of the joystick position. You can use this to create advanced input controls that go beyond the built in "Joystick Controlled" behavior.

 This behavior will Trigger an event repeatedly while you're moving the joystick in any direction.

Properties

There are no properties for this behavior

 

Outputs

X

This value indicates how much the joystick has moved in the X axis. Negative numbers indicate the joystick is moving left, positive indicate right. 

Y

This value indicates how much the joystick has moved in the X axis. Negative numbers indicate the joystick is moving down, positive indicate top.

Angle

This outputs the current angle of the joystick.

Examples

You can use this behavior if the built in Joystick Controlled behavior does not suite your needs. You can output the X and Y analog positions, and use other behaviors to move your object or add other gameplay elements.

 

 

Related


Joystick Controlled

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk