Paths

../../_images/paths_1.png

Paths are routes that agents can follow. Paths can be used to tell the agents specifically where to go.

Name

The name of the path, used to access that specific path in the node tree or other toolbars.

Object

The mesh that defines the path. Path objects must be meshes that only have edges (no faces).

Radius

The maximum distance away from the path that agents should go.

Mode

Bidirectional

Agents can move in two directions at once on the path.

Road

Roads behave like bidirectional paths but agents are offset by the value specified in lane separation. The result of this is agents going in different directions are offset to different sides of the “road”.

Lane Separation

Defines how far apart the road lanes are.

Directional

Agents can only move in one direction at a time on the path.

Draw Directions

Show a visual indicator of the direction of the selected path in the 3D view.

Options and Utilities

All path utilities require require a path to be selected (by hitting the button on the right of each path entry) and for the associated mesh to be in edit mode.

Breadth First Search To Direct Edges

Breadth first search is performed from selected vertices. Path edge directions are set in the order that the edges are visited.

Depth First Search To Direct Edges

Depth first search is performed from selected vertices. Path edge directions are set in the order that the edges are visited.

Switch The Direction Of The Selected Edges

Switch the direction of the currently selected edges to the opposite direction.

Switch The Direction Of The Connected Edges

Flip the direction of every edge that is connected to a selected vertex (an edge is considered connected if there is any way to reach it from a selected vertex by traversing vertices that have edges directly connecting them).