Godot mouse sensitivity calculations

Godot Version

4.2.2

Question

Hi, I’m creating a project that could be considered an aim-trainer.

For such a tool it would make sense to have parity between the mouse sensitivity in Godot and the mouse sensitivity in other games, so that skills you practice in the aim-trainer can be transferred between the two applications, or simply to just be able to use a familiar mouse sensitivity number without having to go and translate it.

Ideally, I’d like to be able to have the same mouse sensitivity value in this, and say, a Source Engine game like Counter-Strike.

To my knowledge, the mouse sensitivity as a factor in Godot is a rather small number. I’m applying mouse movement by what seems to be the standard method - rotating the camera axes by the relative event * mouse sensitivity variable.

I’m not really sure if it’s right to ask here since it’s pretty much a generic maths question, but the factors are related to this engine, so I think it makes sense to some degree: does anyone know of a way to translate the Godot mouse sensitivity variable to the Source Engine variable?