How to set the offset to the collision

So as my knowledge, finding path from point A to point B will return a set of points, but my bot have a wide collision that when it run that set of points it will stuck into the wall, i want to return a path that the bot can stay away from the collision by the offset amount, can you help me

For Grid and Layerd Grid Graph you can either play with the Collision testing values: image
Or you can use erosion tags to keep agents away from corners.

For Recast graph you can modify the Character Radius

1 Like