Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Xiuhman |
I’m looking for a way to change the mouse sensitivity inside the game and unless I’m not using “set_speed” correctly I don’t see any way to do so.
Any help is useful.
This isn’t an answer, but u could try getting the mouse position using get_viewport().get_mouse_position()
and multiplying it by a factor in _process
like this
var m_pos = get_viewport().get_mouse_position() * factor
var whateveryouwanthere = m_pos
that might work, but make sure not to set the mouse position to m_pos
in _process
because that would multiply exponentially every frame. Just set the position of whatever object you want to display (probably the cursor) to m_pos
.
Hope this helps!
Agentfox | 2019-05-12 13:41