- Home /
Rotate a character with joystick
I have a left and a right joystick. The right joystick moves my character (up, down, left, right, ect.) What I want is then my left joystick to control the players rotation, independent of the players velocity or direction. That way I can have my character walk down and still shoot in any direction. Anyone got some ideas to help point me in the right direction for the left joystick? Thanks in advance.
Answer by Steve Steven · Nov 21, 2012 at 07:48 PM
To get Joystick:
Import the unity package called Standard Assets.
To get the value of the speller of the Joystick
What I know people use Input.GetAxis, try to see this links:
Your answer
![](https://koobas.hobune.stream/wayback/20220613084259im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
The name 'Joystick' does not denote a valid type ('not found') 2 Answers
Rotate player to joystick sprite location 0 Answers
Updating rotation of client not working - strange error 0 Answers
rotating object joystick rotation direction current object independently 0 Answers
Calling functions in Javascript 3 Answers