Ana Sayfa / Uygulama Şablonları / Joystick Movement And Rotation Controls - Unity
Joystick Movement And Rotation Controls - Unity
Bu varlık, kurulumu ve kullanımı çok kolay hareket + döndürme joystick kontrolleri sağlar.
- Yayın tarihi20 Ocak 2020
- Son güncelleme20 Ocak 2020
- Canlı demoVar

Overview
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: https://www.dropbox.com/s/4z1p...
Floating joystick example: https://www.dropbox.com/s/4z1p...
Movement and rotation on one joystick: https://www.dropbox.com/s/ysy06qqi7hg9ttr/joysticsk%20test%20one%20control.apk?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.
Requirements
Requires Unity 2017.1.5 or newer
Benzer ürünler

Bu varlık, kurulumu ve kullanımı çok kolay sanal direksiyon sağlar.
Yayın: Ocak 2020
Bu varlık, mobil cihazlar için kurulumu ve kullanımı çok kolay FPS kontrolleri sağlar.
Yayın: Ağustos 2020
Unity dokularını, sprite'ları, malzemeleri, ağları, tilemap'leri ve karakterleri yeniden kullanılabilir paletler ve boya kanallarıyla yeniden renklendirin.
Yayın: Ekim 2026
Unity'ye JavaScript köprüsü, WebGL iframe desteği, Windows WebView2, OAuth temelleri ve tanılamayla WebView ekleyin.
Yayın: Ekim 2026
2B ve 3B grafikler, canlı veri, CSV/JSON desteği ve üç render arka ucuyla etkileşimli Unity grafikleri ve panoları oluşturun.
Yayın: Ekim 2026
Unity ScriptableObject'lerini doğrulama, toplu düzenleme, anlık kopyalar, kod üretimi ve üç yönlü birleştirmeyle bir elektronik tabloda düzenleyin.
Yayın: Ekim 2026