Where do I modify joystick deadzone?

Hello, where can I modify joystick deadzones?

I currently have a twin-stick shooter setup that uses the right stick for rotation of the player ship and for firing. It felt strange that the ship would snap along the axes, so I printed out some debug info and found that there is about 1-2 millimeter deadzone.

Thanks.

The deadzones for axes can be found in the input section of the project settings under AxisConfig.

Ah, thanks. Didn’t notice the little arrow for expanding and showing more properties.

Good question and answer! Going to bullet point the following, for SEO purposes…

  • Prevent thumbsticks snapping.
  • Virtual Joysticks 90 degree threshold.
  • Mobile Joysticks not smooth

where would you change this value at runtime?

If anyone else is wondering about this, you can set an Axis’ deadzone at runtime by using PlayerInput->SetAxisProperties() in the PlayerController.

2 Likes