[SOLVED] Gamepads (Controlers) extension is snapping to 4 directions instead going smooth 360° when moving analog

Discord user TomatoThomato discovered Gamepads extensions is snapping to up left down right directions
When you for example change player angle to Gamepads::StickAngle(1,“Left”)
Instead going smoothly 360°

Link to discord message with video in case above video will not load

I guess it’s expected unless you set the dead zone to 0.

Set the deadzone for sticks of the gamepad. The deadzone is an area for which movement on sticks won’t be taken into account (instead, the stick will be considered as not moved). Deadzone is between 0 and 1, and is by default 0.2.

https://wiki.gdevelop.io/gdevelop5/extensions/gamepads/

1 Like