Thanks for your time in reviewing this question.
I have coded a blueprint that once activated tries to calculate the distance between the mouse and all the given sockets, then returns the closest one.
I cannot get the mouse and sockets to correctly calculate. I have tried different calculates, but it seems that the location of the mouse is being wrongly reported.
Below is the blueprint as it stands:
However I have tried all the following :
Using standard vectors, using Get mouse position, get mouse position scaled by DPI, changing the method of calculation to Hypotenuse but no matter what, it always reports the furthest left most socket as the closest to the mouse! I have checked and the socket locations are being return correctly, it seems the mouse position is offset so far left that I cannot get it to be accurate, anyone have any ideas?