void Follow(ITarget target, float targetReachedDistance) | Keeps walking toward a moving target, rechecking the path every half second by default. |
void Follow(ITarget target) | Keeps walking toward a moving target, rechecking the path every half second by default. |
void Stop() | Stops following and navigating. |
void TeleportTo(Transform target) | Moves the creature's Rigidbody to a valid spot near the position, optionally snapping to the ground height. |
void TeleportTo(Vector3 position) | Moves the creature's Rigidbody to a valid spot near the position, optionally snapping to the ground height. |
void TeleportTo(Vector3 position, bool isSnappingY) | Moves the creature's Rigidbody to a valid spot near the position, optionally snapping to the ground height. |
void WalkTo(Transform target, float targetReachedDistance) | Stops following and walks to a point or a transform's current position, optionally within a reach distance. |
void WalkTo(Transform target) | Stops following and walks to a point or a transform's current position, optionally within a reach distance. |
void WalkTo(Vector3 position, float targetReachedDistance) | Stops following and walks to a point or a transform's current position, optionally within a reach distance. |
void WalkTo(Vector3 position) | Stops following and walks to a point or a transform's current position, optionally within a reach distance. |
void Wander(Vector3 near, int searchLength, Vector3 idealDirection, int bestOf = 1) | Stops following and walks to a random nearby spot, optionally near a point and toward a direction. |
void Wander(Vector3 near, int searchLength) | Stops following and walks to a random nearby spot, optionally near a point and toward a direction. |
void Wander(int searchLength) | Stops following and walks to a random nearby spot, optionally near a point and toward a direction. |