For this #screenshotsaturday I re-implemented mouse input and widget including properly handling deadzone and mapping x/y coordinates to a circle

... okay it's not that exciting BUT IT WAS A LOT OF WORK DAMNIT

This was an incredible resource for the deadzone stuff, it's more complicated that it sounds!

https://www.gamedeveloper.com/disciplines/doing-thumbstick-dead-zones-right

Doing Thumbstick Dead Zones Right

Thumbstick dead zones are a subtle thing, but handling them incorrectly can make your game feel awkward or broken. Here are some simple techniques I’ve learned over the last six years working on major PS3 titles Warhawk and Starhawk.

Game Developer
@jukibom I hear ya. Looks like you found your sweet spot though.

@TaylanK ya I'm pretty pleased with it now! And all the code is free to plunder :D

https://github.com/jukibom/FlyDangerous/blob/main/Assets/Scripts/Core/Player/MouseShipInput.cs

FlyDangerous/Assets/Scripts/Core/Player/MouseShipInput.cs at main · jukibom/FlyDangerous

A love letter to the Elite Dangerous racing community ❤ - FlyDangerous/Assets/Scripts/Core/Player/MouseShipInput.cs at main · jukibom/FlyDangerous

GitHub
@jukibom visuals for direction and it's force do look pretty.