class
FGameplayMovementSystem
- Module
- Game
- Header
#include "Movement/GameplayMovementSystem.h"- Namespace
Mowo
Properties
| Type | Name | Description |
|---|---|---|
static constexpr float | kGravity | World gravity along Y, the engine's up axis. Default -9.81f. |
Constructors
| Signature | Name | Description |
|---|---|---|
FGameplayMovementSystem() = default | FGameplayMovementSystem | |
~FGameplayMovementSystem() override = default | ~FGameplayMovementSystem |
Public functions
| Returns | Name | Description |
|---|---|---|
SystemPhase | GetPhase | 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. |
const char* | GetDebugName | |
void | Update | |
void | SetScene | 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. |
Vec3 | LaunchVelocity | The launch direction a projectile would take right now: its authored direction rotated by the entity's rotation. |
Vec3 | RotationFacing | Euler radians (pitch, yaw, 0) whose forward (-Z) points along dir. |
Function details
FGameplayMovementSystem
C++
FGameplayMovementSystem() = default~FGameplayMovementSystem
C++
~FGameplayMovementSystem() override = defaultGetPhase
C++
SystemPhase GetPhase() const overrideAfter 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 overrideUpdate
C++
void Update(float deltaTime) overrideSetScene
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