MoveToNearestNavmeshLocation - ObjectReference

Member of: ObjectReference Script

Moves this reference to the nearest location that's on a Navmesh that an actor could reach by walking.

SyntaxEdit

Function MoveToNearestNavmeshLocation() native

ParametersEdit

None.

Return ValueEdit

None.

ExamplesEdit

; Reposition MarkerRef so that it's on the nearest Navmesh.
MarkerRef.MoveToNearestNavmeshLocation()

See AlsoEdit