A waypoint system for moving objects along a graph with precise control. Build paths from straight or curved edges (Bezier, Catmull-Rom, and more), branch at waypoints using pluggable selectors (random, weighted, round-robin), and script behavior with instructions like wait and change speed, or write your own. Works in 3D, 2D, and on UI canvases, with editor tools for creating and managing graphs seamlessly. Great for patrols, traffic, cutscenes, or anything that follows a track, in any genre.
the Spline package
- Having the **Splines** package (`com.unity.splines`, 2.6.0+) is mandatory
- The NavMesh agent needs the **AI Navigation** package (`com.unity.ai.navigation`, 1.0.0+).
- The Cinemachine track shape needs the **Cinemachine** package (`com.unity.cinemachine`, 3.1+).