Joystick for Unity3D movement rotation simple input multi touch virtual controls


Code reviewed by PieceX
08 Jun,2020
User Guide Document


Test this asset on this link (inside your browser - you don't need to download anything):

Or download this apk and test it on your android device:

I am always looking to improve my assets, so if you need any feature that you would like in new version or if you have any suggestion on how to improve this asset feel free to contact me.

This asset will provide you with movement + rotation joystick controls that is very easy to setup and use.

If you want to try it on your device you can download test apks from here:

Fixed position example:

Floating joystick example:

Movement and rotation on one joystick: dl=0

How to use it?

- Drag and drop “joystick.prefab“ from “Prefab” folder into your scene.

- Use “JoystickLeft.positionX” static variable inside your scripts to get left joysticks X axis value, use “JoystickLeft.positionY” to get Y axis value (you will get value from -1 to 1 for x and also from -1 to 1 for y axis).

- Use “JoystickRight.angle” to get right joysticks rotation value. Call “Mathf.Rad2Deg * JoystickRight.angle” if you want to get rotation in degrees and not in radians.

You can choose which joystick (left or right) you will use for movement and which one for rotation. Or you can use only one joystick for movement AND rotation.

Additional Options

If “Sticky” option is checked joystick will be invisible and it appear on the position where you touch the screen. If this option is unchecked joystick will always stay on the same position.

“Stick Movement Threshold” will determine how much joystick can move from its central position.

If "Move joystick base on drag" is checked joysticks base will move when finger or pointer is dragged outside of joysticks movement trashold.

"Freeze X" option will freeze X axis.

"Freeze Y" option will freeze Y axis.

Highest Price
Lowest Price
Average Price
AI Price Forecast
Start to Communicate (If you want to start communication with the seller about this item, you can start here)

We use cookies and other technologies to improve your experience on our website and to analyze our traffic. By browsing our website, you consent to our use of cookies and other tracking technologies.

Accept cookies and close this message