Hi, I discovered this project a few days ago. It’s awesome, but I’m getting diagonal moves on 4 connections GripGraph. Here’s [the code][1] I’m working on, with the help of some tutorials, I start a new path (repath) to the target each X seconds.
This is because your movement script is constantly moving towards the next waypoint, but since the next waypoint is changed when it comes within a distance to the current one, it will sometimes move diagonally.
If you want to keep it exactly in the path at all times then you should use linear interpolation (Vector3.Lerp).
You can try this movement script instead: http://pastebin.com/DvjRLQLV it is a work in progress. I am writing some scripts more suited for 2D games atm.