Movement along the wall

Yeah, bit of a fiddle.

I got it to move around inward corners, but not outward. Pretty messy code.

Might be easier to just use a spline and let the cube turn around corners.