Summary
Get a random point on the navmesh, within the bounding box.
This will return null if it can't find a point on the navmesh in a few tries. Returning false doesn't mean it's impossible, our algorithm here isn't the best.
Summary
Get a random point on the navmesh, within the sphere.
This will return null if it can't find a point on the navmesh in a few tries. Returning false doesn't mean it's impossible, our algorithm here isn't the best.