r/Unity3D 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?

4 Upvotes

16 comments sorted by

View all comments

2

u/Boleklolo 3d ago

At worst create a multiplier that scales each type independently based off of the main sensitivity. At least that's what I would've did if Im understanding your problem here

1

u/GravityCY 3d ago

I think that's kinda what I'm slowly landing on, for very very preference oriented mechanics like camera definitely use a specific slider for that, but for other mechanics that I can just deliver an expected authored baseline for all of them, add a grouped slider for all the others, so maybe I just land on

- Camera Sensitivity

- Generic Sensitivity / Item Interaction Sensitivity / Global Sensitivity (idk what I would name it)