Hi
Im looking for some help on a project. I have a robot which has to get from one side of the screen to the other where there is a goal avoiding obstacles. (barrels that are randomly placed)
I so far have the robot going over the barrel itself before moving right and carrying on.
How do i get the robot to move out the way of the barrel before actually hitting it? e.g. moving like a square before?
![Twitter](/assets/twitter-4e19209ef84344ee0c433f4c7bad8d49.png)
![Twitter.hover](/assets/twitter.hover-1fb19a5bafc50deace8f88eaec867845.png)