struct
RouteFollowerComponent
Moves the entity along a route of world-space waypoints at a set speed: the path follower a crawler, an elevator or a patrol cart needs. Put it next to a Kinematic rigid body and the body is carried through the route by the transform each fixed step, so everything standing on it moves with it and contacts stay correct. FRouteFollowerSystem writes the transform before the physics step.
- Module
- Physics
- Header
#include "Physics/Components/RouteFollowerComponent.h"- Namespace
Mowo- Reflection
- Reflected by MowoHeaderTool
Properties
| Type | Name | Description |
|---|---|---|
bool | enabled | Default true. |
std::vector<Vec3> | waypoints | |
bool | closed | Default false. |
bool | pingPong | Default false. |
float | speed | Default 2.0f. |
float | acceleration | Default 0.0f. |
bool | paused | Default false. |
bool | reversed | Default false. |
float | startDistance | Default 0.0f. |
float | distance | Default 0.0f. |
bool | arrived | Default false. |
Generated from Physics/Components/RouteFollowerComponent.h via physics.json · Dec 5, 2026Version 1.1.0