I am creating a 2D game. (Objects in the game can be 3D but everything happens on the XY plane).
There is a set of actors and a ray. Ray is represented by a point and direction vector.
I need to find the nearest actor to the left of the ray and nearest actor to the right of the ray.
How it can be done in Blueprint?