class

FGameplayMovementSystem

Module
Game
Header
#include "Movement/GameplayMovementSystem.h"
Namespace
Mowo

Properties

TypeNameDescription
static constexpr floatkGravityWorld gravity along Y, the engine's up axis. Default -9.81f.

Constructors

SignatureNameDescription
FGameplayMovementSystem() = defaultFGameplayMovementSystem
~FGameplayMovementSystem() override = default~FGameplayMovementSystem

Public functions

ReturnsNameDescription
SystemPhaseGetPhaseAfter the physics step: a projectile sweeps against the bodies where they ended up this frame, and a spring arm follows the pose its owner settled on rather than last frame's.
const char*GetDebugName
voidUpdate
voidSetSceneThe scene gives the system its actor world: an entity an actor owns is moved through the actor, or the actor's next transform sync would put the entity straight back where the root component still is.
Vec3LaunchVelocityThe launch direction a projectile would take right now: its authored direction rotated by the entity's rotation.
Vec3RotationFacingEuler radians (pitch, yaw, 0) whose forward (-Z) points along dir.

Function details

FGameplayMovementSystem

C++
FGameplayMovementSystem() = default

~FGameplayMovementSystem

C++
~FGameplayMovementSystem() override = default

GetPhase

C++
SystemPhase GetPhase() const override

After the physics step: a projectile sweeps against the bodies where they ended up this frame, and a spring arm follows the pose its owner settled on rather than last frame's.

GetDebugName

C++
const char* GetDebugName() const override

Update

C++
void Update(float deltaTime) override

SetScene

C++
void SetScene(Scene* scene)

The scene gives the system its actor world: an entity an actor owns is moved through the actor, or the actor's next transform sync would put the entity straight back where the root component still is.

LaunchVelocity

C++
static Vec3 LaunchVelocity(const ProjectileMovementComponent& pm, const TransformComponent& tc)

The launch direction a projectile would take right now: its authored direction rotated by the entity's rotation. Exposed for the tests.

RotationFacing

C++
static Vec3 RotationFacing(const Vec3& dir)

Euler radians (pitch, yaw, 0) whose forward (-Z) points along dir.

Generated from Movement/GameplayMovementSystem.h via game.json · Nov 5, 2026Version 1.0.0