PathProgressTracker.cs Documentation

The PathProgressTracker script is designed to track the progress of an AI vehicle as it moves along a path defined by a spline. This is particularly useful in racing games or scenarios where vehicles need to follow a specific route.

1. Core Components

AIVehicleController aiVehicleController

SplineContainer splineContainer


2. Progress and Offsets

Offsets: offset_A, offset_AB, offset_BC

progressDistance


3. Lap Management