Original Post
Alright so I was reading up on Craig Reynolds agents. He talks about a few things, and I already have the pathfinding system. But I wanted to know how to go about developing the generic surface protocol. He writes that his agents pass an x,y to the protocol and it returns the closest x,y to the surface. I need something like that so when my agents pathfind, and are in formations (they repel each other) that they don't run into the walls.