- Home /
Rotating game object using UI Joystick
Hello,
I am learning unity and I want to know how can I rotate a game object (2D) using on screen joystick for touch devices.
I have a joystick setup and functioning, but I can't figure out how can I rotate a game object using the joystick.
As you can see in the image, the inner circle (grey) is a joystick which can be moved around in the outer circle (white). I want to rotate the Z component of the aeroplane when the grey circle is moved.
Thanks in advance
Your answer
Follow this Question
Related Questions
PointerEventData null reference expectation error 0 Answers
Joystick for WASD & Joystick for Camera? 0 Answers
Trying to rotate a 2D image over time to a specific angle, but it's rotating its Y value every time 1 Answer
Rotate world space UI element on Z axis towards gameobject. 1 Answer
Right controller stick rotation snaps 0 Answers