Skip to main content

Available Tracks

In addition to Unity's standard tracks, this project ships five specialized Timeline tracks built for scenario authoring. Select a track to see what it does:

AI Command Track​

The AI Command track scripts movement for actors. Each clip issues a single movement command when it becomes active. The Command Type of a clip is one of Go To Location (move to the clip's Target Position), Go To Transform (move to the clip's Target Unit), or Stop. Clips are automatically renamed after their command type. Each command is issued once per runtime session; looping or scrubbing the timeline back over a clip does not re-issue the command.

When previewing the timeline in the Editor, actors slide directly toward their target positions as a rough visual guide. The speed, path, and travel time shown in preview are approximations and do not match what happens when the scenario actually runs.

tip

Because the timeline does not wait for an actor to finish moving, the next event in the sequence may trigger before the actor arrives. To fix this, add a Time Machine Track and place two clips on it after the movement command: a Marker clip to mark the start of the wait, then a Jump to Marker clip pointing back to it with condition Object at Location and Invert Condition enabled. The timeline keeps looping back over that section until the actor is close enough to the destination, then continues automatically.

For full actor setup and command types, see Making Road Agents Move.