Move with the mouse


Allows you to move your player character using the mouse.

Utilities
6 months ago
1.1 - 2.0
2.52K

g two cursor position on click

3 years ago

This is a very nice mod, it will help reduce my carpal tunnel. nice.

However, I found an issue, it seems sometimes when I clicked the middle mouse button, it returns 2 very close position at once, making the engineer run in place constantly until I clicked other spot that does not return 2 cursor position.

Can you fix this or maybe add feature to override movement order with WASD?

Thanks

3 years ago

yes wasnt this on plan anyways ?
would also love to see the cancel via WASD

3 years ago

This also happens with me on concrete and and exosuits. I think that the 1/60 of a second in which the game registers the position is not enough, causing overshoot. Maybe add a config option for auto-stopping when within a radius "R".

3 years ago

I tried to use this mod while also using Global Tick Time Scale, that I use to lower the FPS because my GPU is overheating, but this problem becomes much worse the lower the FPS, making it impossible to use.

3 years ago

A better stopping algorithm, btw., might be to stop if within a certain radius AND the distance to the target increased compared to the previous position. This way, the radius R siggested by bento could be relatively large.

3 months ago

I found no response to this problem and it occurs more with extra exoskeletons
I found adding the following code before the first if in local function get_direction works
if dx < 0.3 and dx > -0.3 then
if dy < 0.3 and dy > -0.3 then
return nil
end
end

New response