bevy_fps_controller icon indicating copy to clipboard operation
bevy_fps_controller copied to clipboard

Add gamepad support

Open Pyroglyph opened this issue 11 months ago • 2 comments

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:

  1. 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.
  2. 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)

Pyroglyph avatar Mar 17 '24 19:03 Pyroglyph