Question by
Margystudios · Apr 19, 2021 at 09:42 AM ·
input2d gamecontrollerprogramminginputmanager
How to rotate Z axis through Right Joystick (For 2D Topdown Game)
Hi! I'm currently making a survive for as long as you can game and I want to add controller Input in it. I have found a few tutorials on YouTube but none of them worked for me. I have made my Input Actions but I just don't know what to put in the script. I just want a simple rotation of the Z axis of the character based on where the joystick is at. If anyone can help me, that would be awesome! Thank you so much.
capture.jpg
(37.7 kB)
capture.jpg
(36.3 kB)
Comment