Table of Contents

Method NearestValidDestination

Namespace
GrindFest
Assembly
GrindFest.dll

NearestValidDestination(NavMeshAgent, Vector3)

public static Vector3 NearestValidDestination(this NavMeshAgent agent, Vector3 destination)

Parameters

agent NavMeshAgent
destination Vector3

Returns

Vector3