bevy_fps_controller
bevy_fps_controller copied to clipboard
Add gamepad support
The controller doesn't currently support gamepads. This PR aims to change that!
Currently, keyboard input is broken as the gamepad is overriding the values in FpsControllerInput
.
There are two ways of solving this:
- Both input methods need to reach consensus. For example, pressing W on your keyboard and moving the left stick to the left will cause the player to move forward and left.
- The game should automatically switch between the two input methods (depending on which one received the most recent input)
I'm not sure which solution is best, so any input is welcome! (pun not intended)