Hi everyone,
When developing a pan mode for our game by using “ProjectWorldLocationtoWidgetPosition” I would like to have the mouse position reset to the cursor position and I have a difficult time doing that.
So here is what is happening, I create a cursor widget
In the tick I update the widget cursor position to stay on the position
When I’m panning, I Set the position from ProjectWorldLocationtoWidgetPosition
While doing that I store that position.
When I stop panning there is a difference from the mouse position to the cursor position (which is normal) and I just want the mouse to be refreshed with the cursor position like that:
MousePosition is the vector2d variable I created to store the position. I’m sure the code is processed when it should as I can see in my logs. The issue for me is to convert the cursor position so that I can update the mouse position accordingly.
Is there any way to do that?