Sein Movement Data
Struct · FSeinMovementPayload : FSeinPayload
Parent: Sein Component Data
#include "Components/SeinMovementPayload.h"
deterministic: safe in simulation code
Sein Movement Data: makes a unit able to move. It names the unit’s movement mode (Movement Class) and sets its speed and turn rate. It also holds the live state of the current move, such as the destination, velocity and slope tilt, which animation and UI code can read.
Properties
Section titled “Properties”General
Section titled “General”Movement Class
Section titled “Movement Class”FSoftClassPath MovementClass
Editable in defaults and on instances · Blueprint read and write
The movement mode that drives this unit. Empty uses Basic Movement. A soft path, so a unit can name a mode from a game module this module does not depend on.
FFixedPoint Speed · default FFixedPoint::FromInt(500) · min 0.0
Editable in defaults and on instances · Blueprint read and write
Travel speed in centimetres per second, before terrain and avoidance. Modes with an acceleration ramp treat it as their top speed. Attributes and effects modify it directly.
Turn Rate
Section titled “Turn Rate”FFixedPoint TurnRate · default FFixedPoint::FromInt(5) · min 0.0
Editable in defaults and on instances · Blueprint read and write
Maximum facing change in radians per second.
Mode Data
Section titled “Mode Data”FInstancedStruct ModeData
Editable in defaults and on instances · Blueprint read and write
The movement mode’s own tuning, copied onto the mode’s same-named properties. Its type follows Movement Class: the mode’s Get Mode Data Struct names it, and a Blueprint mode’s generated tuning struct fills it. Empty for Basic Movement.
Target Location
Section titled “Target Location”FFixedVector TargetLocation · default FFixedVector::ZeroVector
Blueprint read and write
The current move’s destination. Read it only while Has Target is true; afterwards it is the last ordered goal.
Has Target
Section titled “Has Target”bool bHasTarget · default false
Blueprint read and write
True while a move is in progress.
Velocity
Section titled “Velocity”FFixedVector Velocity · default FFixedVector::ZeroVector
Blueprint read and write
Planar velocity the mode drove this tick, in cm/s. It carries across orders, so a new order issued in motion keeps the unit’s momentum. Facing is separate, on the transform.
Arrival Imminent
Section titled “Arrival Imminent”bool bArrivalImminent · default false
Blueprint read and write
True on the final leg within acceptance plus footprint of the destination, so animation can blend into an arrival.
On Final Leg
Section titled “On Final Leg”bool bOnFinalLeg · default false
Blueprint read and write
True while the unit heads for its route’s final waypoint.
Smoothed Pitch
Section titled “Smoothed Pitch”FFixedPoint SmoothedPitch · default FFixedPoint::Zero
Blueprint read and write
Pitch toward the ground slope in radians, positive nose up, rate-limited so terrain orientation stays continuous across ticks and orders.
Smoothed Roll
Section titled “Smoothed Roll”FFixedPoint SmoothedRoll · default FFixedPoint::Zero
Blueprint read and write
Roll toward the ground slope in radians, positive right side down; see Smoothed Pitch.
Initial Ground Snap Done
Section titled “Initial Ground Snap Done”bool bInitialGroundSnapDone · default false
Blueprint read and write
True once the unit’s first idle tick has snapped it to the ground and slope.
Face Point
Section titled “Face Point”FFixedVector FacePoint · default FFixedVector::ZeroVector
Blueprint read and write
The point the unit turns toward while it has no move, ahead of its formation slot’s facing. Face Point sets it and starting a move clears it. Read it only while Has Face Point is true.
Has Face Point
Section titled “Has Face Point”bool bHasFacePoint · default false
Blueprint read and write
True while Face Point decides the unit’s idle facing.
Avoidance
Section titled “Avoidance”Avoidance Weight
Section titled “Avoidance Weight”int32 AvoidanceWeight · default 0
Editable in defaults and on instances · Blueprint read and write
Right of way, for avoidance classes that weigh it: higher values receive precedence when paths conflict. Basic Avoidance does not use it.
Movement
Section titled “Movement”Actual Velocity
Section titled “Actual Velocity”FFixedVector ActualVelocity · default FFixedVector::ZeroVector
Blueprint read-only
Displacement over the committed tick, including contacts, in cm/s.
C++ members (2)
void SetRenderValue(FGameplayTag Key, FFixedPoint Value);const FFixedPoint* FindRenderValue(FGameplayTag Key) const;