The PathFinding script is part of the OmniVehicleAi system. It is responsible for finding the shortest path between two waypoints and generating a spline for the AI vehicle to follow. This is a key component for AI navigation, particularly in scenarios where the AI needs to dynamically move between different points in a scene.


1. Core Components

waypointSystem waypointSystem

AIVehicleController AIVehicleController

PathProgressTracker pathProgressTracker

List\<waypoint> waypoints


2. Key Methods

FindPath(Vector3 destination)