struct
SpringArmComponent
UE's SpringArmComponent: holds its CHILD entities at the end of an arm that trails behind the entity, pulls in when the world is in the way, and can lag behind the motion it follows. Parent a camera entity (or a light, a mesh) to the arm and it rides the end. FGameplayMovementSystem runs it after physics, so the arm reads the pose the frame settled on.
- Module
- Game
- Header
#include "Game/Components/SpringArmComponent.h"- Namespace
Mowo- Reflection
- Reflected by MowoHeaderTool
Properties
| Type | Name | Description |
|---|---|---|
bool | enabled | Default true. |
float | targetArmLength | Default 3.0f. |
Vec3 | targetOffset | Offset of the arm's start from the entity, in world space (a shoulder height above a character's origin). Default Vec3(0.0f, 1.5f, 0.0f). |
Vec3 | socketOffset | Offset of the end from the arm's tip, in the entity's own space (an over-the-shoulder shift to the right). Default Vec3(0.0f, 0.0f, 0.0f). |
bool | doCollisionTest | Default true. |
float | probeSize | Radius kept clear around the end — the lens never clips a wall. Default 0.12f. |
bool | enableCameraLag | Default false. |
float | cameraLagSpeed | Exponential follow rate; higher catches up faster. Default 10.0f. |
Vec3 | endLocation | Where the end sits this frame, in world space, and how long the arm actually is after collision. Default Vec3(0.0f, 0.0f, 0.0f). |
Vec3 | laggedEnd | Default Vec3(0.0f, 0.0f, 0.0f). |
float | currentArmLength | Default 0.0f. |
bool | colliding | Default false. |
bool | hasLagState | Default false. |
Generated from Game/Components/SpringArmComponent.h via game.json · Nov 5, 2026Version 1.0.0