Game Development Reference
In-Depth Information
Random navigation points
To randomly select a point on the navmesh, the Sandbox.RandomPoint function will
perform a small query and return a point. If there are multiple navmesh regions, there is no
guarantee that this random point will be pathable to every other point:
local randomPoint = Sandbox.RandomPoint(sandbox, "default");
Search WWH ::




Custom Search