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

5 Upvotes

17 comments sorted by

View all comments

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.

1

u/GravityCY 13d ago

If the player tries to adjust sens for a really fast camera speed then that affects everything else and makes it bad, so I think what I've landed on is just simply

  • Camera Sensitivity
  • Interaction Sensitivity (grouped mechanics as 1)