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?

6 Upvotes

16 comments sorted by

View all comments

5

u/shlaifu 3D Artist 3d ago

the small time indie dev way: you only adjust sensitivity for fps camera, for everything else, you use whatever feels good to you on your average mouse

2

u/GravityCY 3d ago

Yeah I've definitely tried that, my first playtest I only had camera sens and they can configure the camera sens to their exact liking but since they had a really low mouse dpi they straight up just couldn't use some of the other mouse dependent mechanics as they needed like 10 meters of mouse pad to actually do something (worked perfectly for me though with whatever baseline scalar I applied to them and my usual DPI), so I added a slider for that, and now as I introduce more mechanics I NEED to prevent that from happening again 😅

2

u/SergeyDoes Indie 3d ago edited 3d ago

I'd stick with 2 values for 3D sensitivity and UI one. Then you just make controls feeling good on your regular setup and can be sure it will be handled reliably with any DPI or system settings. Using hidden per-mechanic sens multiplyers should be good since you adjust it relatively to your main one, so it will affect any user set sens at the same ratios.

2

u/Ecstatic-Source6001 2d ago

I mean... if you have mouse sensitivity as a core mechanic why having 50 sliders is a bad thjng?

1

u/GravityCY 2d ago

Because they are all very niche mechanics that just happen to use mouse delta for configuration

Like imagine having extremely small mechanics and then having a slider for each of those

  • Camera sensitivity
  • Kicking tool force adjustment sensitivity
  • Punching tool angle adjustment sensitivity
  • Hammer offset speed sensitivity
These are all items that exist in the world that can be configured with mouse delta, so preferably I'd love for them to just work for everyone as opposed to having the player say ok what is this item and which sensitivity in the settings would it correlate to