Route
Description
The Route
object represents a sequence of waypoints that an
actor traverses during a simulation and contains data that defines how RoadRunner Scenario should interpolate the points. You can use a Route
object to
build routes for actors by specifying the route on which to add new points.
Creation
To return a Route
object from your RoadRunner scenario, extract the Route
property of an actor or point.
For example, rrRoute = car.InitialPoint.Route
extracts the
Route
property of the InitialPoint
property of the
actor car
and assigns it to the variable rrRoute
.
Properties
Object Functions
addPoint | Add point to route |
Examples
Version History
Introduced in R2025a
See Also
addPoint
| anchorToPoint
| Point
| RouteSegment
| SceneAnchorPoint