Godot Version
4.3
Question
I want to add an area of influence using an area2D on the players mouse(for selecting groups of objects for example). This works mostly fine, however when the camera moves quickly the area2D hooked to the mouse lags behind significantly.
I’ve done two methods, one where I had the area2d be a child of the camera and be set to local mouse position in _process(), and one where the area2d was on it’s own and followed the global mouse position in _process(), both yielded the same results.
Video below shows this in action. Moving the mouse around normally yields some slight delay but that is expected, however when I attach the camera to the moving planet in the game and speed up it’s movement, the area2D lags behind significantly.