Im trying to get the Mouse Position while dragging an Object from the inventory & starting a Line Trace By Channel from there. I’m able to do this on the “on drop” function, but I’m not able to find out how to get the position of the mouse during the drag operation. It seems like the mouse position isn’t being updated, after the drag operation starts.
So my problem is how to get the mouse position in between this events? When the drag event starts I#m not able to get the mouse position through the player controller. Is there anything simple i’ve been missing?
The player’s mouse position is not accurate during drag/drop because mouse movement events are not sent, drag movements are sent. You have to use the mouse/cursor position data on the drop operation, not the player controller.