Hello everyone!
I have a problem… I am developing a game so problems will be very common… from which I will learn a lot!
My problem is about spawning coins in a way they avoid obstacles…
I have this so far (I get it from this post in answerhub https://answers.unrealengine.com/questions/434586/how-would-you-spawn-object-in-a-straight-line.html)
With the blueprint above, I can manipulate the lane in which they can spawn, as you can see.
But I want to manipulate the lane to not collide with an obstacle as shown in the illustration below…
Yellow circles represent coins.
Blue squares represent obstacles.
The big black square outline represents a simple room.