class

MActorStatics

Module
Game
Header
#include "Game/MActorStatics.h"
Namespace
Mowo
Reflection
Reflected by MowoHeaderTool

Public functions

ReturnsNameDescription
boolAttachActorTowith no root (pure-logic controllers) cannot attach and reports false.
boolAttachActorToSocket
boolDetachActor
AActor*GetAttachParentActor
Vec3GetActorVelocityMotion.
boolSetActorVelocity
boolAddActorImpulse
Vec3GetActorForwardVectorOrientation basis — the actor's axes in world space.
Vec3GetActorRightVector
Vec3GetActorUpVector
Vec3GetActorScale
voidSetActorScale
voidAddActorWorldOffset
voidAddActorTagGameplay tags.
voidRemoveActorTag
boolActorHasTag
int32_tGetActorCountOfClassIteration.
AActor*GetActorOfClassAt
int32_tGetActorCountWithTag
AActor*GetActorWithTagAt
AActor*FindNearestActorWithTag
std::stringGetActorClassName

Function details

AttachActorTo

C++
bool AttachActorTo(AActor* child, AActor* parent)

with no root (pure-logic controllers) cannot attach and reports false.

AttachActorToSocket

C++
bool AttachActorToSocket(AActor* child, AActor* parent, const std::string& socketName)

DetachActor

C++
bool DetachActor(AActor* actor)

GetAttachParentActor

C++
AActor* GetAttachParentActor(AActor* actor) const

GetActorVelocity

C++
Vec3 GetActorVelocity(AActor* actor) const

Motion. A rigid body answers from the physics world; a character controller answers from its component's integrated velocity. Anything else has no velocity to report and reads zero.

SetActorVelocity

C++
bool SetActorVelocity(AActor* actor, const Vec3& velocity)

AddActorImpulse

C++
bool AddActorImpulse(AActor* actor, const Vec3& impulse)

GetActorForwardVector

C++
Vec3 GetActorForwardVector(AActor* actor) const

Orientation basis — the actor's axes in world space.

GetActorRightVector

C++
Vec3 GetActorRightVector(AActor* actor) const

GetActorUpVector

C++
Vec3 GetActorUpVector(AActor* actor) const

GetActorScale

C++
Vec3 GetActorScale(AActor* actor) const

SetActorScale

C++
void SetActorScale(AActor* actor, const Vec3& scale)

AddActorWorldOffset

C++
void AddActorWorldOffset(AActor* actor, const Vec3& delta)

AddActorTag

C++
void AddActorTag(AActor* actor, const std::string& tag)

Gameplay tags. HasTag matches hierarchically — "Faction" matches an actor tagged "Faction.Enemy.Goblin".

RemoveActorTag

C++
void RemoveActorTag(AActor* actor, const std::string& tag)

ActorHasTag

C++
bool ActorHasTag(AActor* actor, const std::string& tag) const

GetActorCountOfClass

C++
int32_t GetActorCountOfClass(const std::string& className) const

Iteration. Counting and indexing are separate calls because a thunk cannot return a list; both walk the same world snapshot, so a graph that spawns or destroys between them must re-count.

GetActorOfClassAt

C++
AActor* GetActorOfClassAt(const std::string& className, int32_t index) const

GetActorCountWithTag

C++
int32_t GetActorCountWithTag(const std::string& tag) const

GetActorWithTagAt

C++
AActor* GetActorWithTagAt(const std::string& tag, int32_t index) const

FindNearestActorWithTag

C++
AActor* FindNearestActorWithTag(const Vec3& origin, const std::string& tag) const

GetActorClassName

C++
std::string GetActorClassName(AActor* actor) const
Generated from Game/MActorStatics.h via game.json · Nov 5, 2026Version 1.0.0