Hi, so if we look at the picture we can see
Orange circle = Actor
Redline = Cant go over that
Grey square = Location i want to move at
Green x = In the redline so it can move free
Blue x = the grey square is under the redline so the x cant go over the redline but it can still move left and right
How do i get so if my given location is under the redline it goes to the closes location to the redline but i cant go over it but still move left & right, also its all in 3D Space