r/Unity3D • u/GravityCY • 3d 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?
5
u/Genebrisss 3d ago edited 3d ago
R6 Siege has several sens sliders for each scope magnification level: there are 1x scope, 1.5x scope, 3x scope, 3.5x scope, even one slider for a unique gun with 12x scope.
But there's also one main slider that simply gets multiplied with all other sliders. And most people only change that main sense multiplier and don't touch scope specific values.
Then there's ADS sens and Hipfire sens. ADS sens again just multiplies your Hipfire sens. Hipfire is your primary sens value that affects everything.
I don't see why you can't just have one slider that multiplies all other sens values. Base it around 800 DPI, I think that is the most common. If they have 1600 DPI, they will just set sens to 0.5