Path
An authored curve for something to move along: a lift's route between floors, a patrol's loop round a gantry, a camera sweep. Add a Path Follower to walk it, and turn on Smooth to round off its corners.
On this page
Add it
+ Add node → Path creates a node with it already on. Already have a node for it? Add component → PathComponent.
From a script
A script on the same node writes these fields by name. PathComponent is the name to pass.
rgs
set_flag("PathComponent", "closed", false);
set_flag("PathComponent", "smooth", false); Fields
| Field | Script name | Kind | Default | What it does |
|---|---|---|---|---|
| Points | points | list | empty | The control points, in order. |
| Closed | closed | checkbox | off | Whether the end joins back to the start. |
| Smooth | smooth | checkbox | off | Whether the corners are smoothed. |