Sein Movement State Data
Struct · FSeinMovementStateData
#include "Lib/SeinMovementBPFL.h"
Derived movement state — read-only runtime snapshot composed from an entity’s transform and Movement Data (+ optional polymorphic sub-data for altitude). Mirrors the field shape of UCharacterMovementComponent so AnimBPs / UI / gameplay code authored against the mannequin template port over with minimal rewiring.
Stateless by design: no per-frame deltas (acceleration, yaw rate). If you need those, compute them in the calling graph from per-tick Velocity / rotation deltas with whatever cache strategy fits the caller (BP variable, ViewModel, etc.). Keeping this struct stateless means a single sim entity can be queried by N consumers per frame without coordination.
Properties
Section titled “Properties”Velocity
Section titled “Velocity”FVector Velocity · default FVector::ZeroVector
Blueprint read-only
Planar velocity (XY) in cm/s. Z is always 0.
float Speed · default 0.0f
Blueprint read-only
Signed forward speed (units/s). Negative when reversing.
Ground Speed
Section titled “Ground Speed”float GroundSpeed · default 0.0f
Blueprint read-only
Planar (XY) speed magnitude. Non-negative; equivalent to Vector Length XY(Velocity) from the mannequin AnimBP template.
Direction
Section titled “Direction”float Direction · default 0.0f
Blueprint read-only
Signed angle from the entity’s facing to its velocity, in degrees, in [-180, 180]. Drives the strafe blendspace. For non-strafing movement: 0 forward, ±180 reverse. Returns 0 when stationary.
Is Moving
Section titled “Is Moving”bool bIsMoving · default false
Blueprint read-only
True when the unit’s planar speed (Ground Speed) is above about 1 cm/s. Drives idle to locomotion transitions in an Animation Blueprint.
Is Reversing
Section titled “Is Reversing”bool bIsReversing · default false
Blueprint read-only
True when Speed is negative — the unit is driving backwards. Distinct from bIsMoving: a stopped unit isn’t reversing even if it could. AnimBPs use this to swap forward/backward locomotion blendspace inputs.
Is Airborne
Section titled “Is Airborne”bool bIsAirborne · default false
Blueprint read-only
True when the unit’s movement mode holds it more than 1 cm above the ground (Get Altitude).
Arrival Imminent
Section titled “Arrival Imminent”bool bArrivalImminent · default false
Blueprint read-only
True while the unit is on its final leg and within its acceptance radius plus its body radius of the destination. Mirrors Movement Data’s Arrival Imminent; Animation Blueprints use it to blend into an arrival.
Has Movement Input
Section titled “Has Movement Input”bool bHasMovementInput · default false
Blueprint read-only
True while a move drives the unit toward a destination. Mirrors Movement Data’s Has Target and goes false the moment the move ends, before Velocity reads zero; combine it with Is Moving to release a “should move” blend on the order rather than on the stop.