Description
Fixes UE4’s uneven reading of thumbstick inputs.
Normally, UE4 reads the maximum inputs of a gamepad thumbstick as sort of a square with rounded edges, rather than a circle like most would expect. This handful of Blueprint nodes allows you to remap those values to a more correct circle, allowing for a more accurate representation of input from the thumbsticks.
Also replaces the traditional UE4 Axial deadzone, where x and y values are deadzoned separately, resulting in a deadzone that looks like a cross, with a circular deadzone. Now, the deadzone is only in the middle of the thumbstick movement area, like it should be.
You can set the minimum and maximum deadzone values with variables inside the player character itself, allowing for complete control over your thumbstick values like never before! And, when moving the thumbstick out of the deadzone, the corrected thumbstick values are smoothly interpolated from the center, allowing for high precision, even in FPS shooters.
And last but not least, this comes with a quick to setup visualizer of all of the above data. With various rings showing the maximum bounds of the thumbstick, the minimum and maximum user defined deadzone areas, as well as the original thumbstick location and the corrected thumbstick location.
There is practically no game type that does not benefit immensely from adding this to its movement and camera mechanics.
Technical Details
Number of Blueprints: 3
Number of UI Elements/Widgets: 13
Input: Gamepad
Network Replicated: No
Supported Development Platforms: PC, Xbox, PlayStation
Supported Target Build Platforms: PC, Xbox, PlayStation
Documentation: https://youtu.be/JaINkvnOAUw
Important/Additional Notes:
When adding this to your own project. Be sure to go into your project settings, search for ‘deadzone’, and for whichever thumbstick you are going to be applying this blueprint to, change the deadzone values (usually 0.25) to 0, as that deadzone will be handled by the Blueprint.
Side Note:
In certain scenarios, if you multiply the input strength by the corrected input, you might get some cool intended behavior.
Supported Engine Versions
4.18 – 4.27, 5.0 – 5.3