- Home /
How to move player with xbox controller
Hi all, I just downloading the new Input System and I want to move my player with an Xbox controller. I had already moved him with animations using a keyboard, but I want to also add an option for a controller. My player has a cinemachine camera and = a character controller, and on input settings i chose "both". Is there a way to convert WASD movement to the left stick, looking around using the right stick, and add in other button functions? I have already look for tutorials but nothing seemed to fit my case.
Answer by Zaeran · Jan 06, 2021 at 06:25 AM
This tutorial gives a pretty solid explanation of binding controls to an XBox controller using the new Input system :)
https://learn.unity.com/tutorial/configuring-an-xbox-controller-for-user-input-2019-3
Thanks @Zaeran , that was helpful for setting up my controller. How would I move my player with my animations using the controller? How would I script that?
Your answer
Follow this Question
Related Questions
Detect if an XBOX 360 controller is plugged in 1 Answer
Character Control General Issues 1 Answer
how to use the axises on the xbox one controller? 0 Answers
Animation Input / ETC 1 Answer
unity input system help 2 Answers