So assuming you need to calculate the green vectors from your example image:

You need to have positions of all circles and normalized forward vector from black circle.

This way you can use “ClosestPointOnTheLine” node in BP.

So assuming you need to calculate the green vectors from your example image:

You need to have positions of all circles and normalized forward vector from black circle.

This way you can use “ClosestPointOnTheLine” node in BP.

Hi.

How can I compare the sideway distances from player to object A and from player to object B, to know which one is far from the player side, ignoring the forward distance between them?

Thanks