Movement along the wall

I got it to work like so:

Image from Gyazo

The inward corners are just turns, the outwards are a tad more tricky:

  • we fire up to 2 linetraces to the side (depending on the direction of movement) of the actor
  • one from the back
  • one a bit to the front
  • if both traces fail, it’s time to turn
1 Like