Skip to content

Sein Path Segment

Struct · FSeinPathSegment

#include "SeinPathTypes.h"

deterministic: safe in simulation code

Single typed segment in a planned path. For a Straight route there is one segment per consecutive Waypoints[i] → Waypoints[i+1] pair (derived by DeriveSegmentsFromWaypoints). For a typed route (containing Arc, etc.) the segments are the AUTHORED truth and the Waypoints polyline is a driven approximation of them (see FSeinPath::FlattenToWaypoints) — so segments are NOT 1:1 with waypoint pairs there. The geometry fields below are meaningful only for the kinds that name them (Arc); they stay zero for the others.

ESeinPathSegmentType Type · default ESeinPathSegmentType::Straight

Blueprint read-only

The kind of motion this segment represents.

FFixedVector From

Blueprint read-only

World position where the segment starts.

FFixedVector To

Blueprint read-only

World position where the segment ends.

FFixedVector Center

Blueprint read-only

ARC center (world). Meaningful only for Arc; zero otherwise.

FFixedPoint Radius · default FFixedPoint::Zero

Blueprint read-only

ARC radius (world units). Meaningful only for Arc; zero otherwise.

FFixedPoint SweepAngle · default FFixedPoint::Zero

Blueprint read-only

SIGNED swept angle of the arc, radians — sign = handedness (positive = counter-clockwise, negative = clockwise), magnitude = extent. Meaningful only for Arc; zero otherwise.

bool bReverse · default false

Blueprint read-only

Drive DIRECTION for this segment: true = travel it in REVERSE (backward). Lets one path alternate forward and reverse at cusps (Reeds-Shepp), which a single mode-global reverse latch cannot express. Carrying the flag is the base contract; ACTING on it (reverse kinematics, cusp settle) is the driving mode’s job. Default false = forward.

FFixedPoint TargetYaw · default FFixedPoint::Zero

Blueprint read-only

Heading (radians) the body faces at To; a Pivot segment’s turn target.