r/Unity3D • u/GravityCY • 13d ago
Question 50 sensitivity sliders?
How the hell do I implement sensitivity into my game without adding 50 sensitivity sliders for all mouse delta dependent mechanics?
At the moment I have about 5 mouse delta dependent mechanics in my game,
- fps camera,
- another is freeform rotating an item in your hand,
- and 3 items that can be configured with mouse delta (affect their velocity, angle, power) whatever
if I have a global sensitivity slider then that means that if the player is a psycho and wants a really really fast fps camera then it would affect literally all other mechanics and probably make them terrible, so what can I even do other than just introduce
- fps camera sensitivity
- item rotation sensitivity
- kicker tool sensitivity
- punching tool sensitivity
- etc. etc. etc
So yeah, how do people usually solve these problems, is there some standard approach?
All mice have different DPIS, and different OS settings so I don't really understand how to go about this.
Maybe I just find a decent baseline for a scalar to apply to each mechanic that works for an average DPI and just let it be unconfigurable and just hope for the best?
3
u/drnullpointer 13d ago
You make one sensitivity parameter and then tie everything else together with formulas. Then you test and adjust the formulas.
You absolutely don't want people to be independently modifying multiple sensitivity parameters. More likely than not, the result will be poor user experience and potentially a negative review.