class
MActorStatics
- Module
- Game
- Header
#include "Game/MActorStatics.h"- Namespace
Mowo- Reflection
- Reflected by MowoHeaderTool
Public functions
| Returns | Name | Description |
|---|---|---|
bool | AttachActorTo | with no root (pure-logic controllers) cannot attach and reports false. |
bool | AttachActorToSocket | |
bool | DetachActor | |
AActor* | GetAttachParentActor | |
Vec3 | GetActorVelocity | Motion. |
bool | SetActorVelocity | |
bool | AddActorImpulse | |
Vec3 | GetActorForwardVector | Orientation basis — the actor's axes in world space. |
Vec3 | GetActorRightVector | |
Vec3 | GetActorUpVector | |
Vec3 | GetActorScale | |
void | SetActorScale | |
void | AddActorWorldOffset | |
void | AddActorTag | Gameplay tags. |
void | RemoveActorTag | |
bool | ActorHasTag | |
int32_t | GetActorCountOfClass | Iteration. |
AActor* | GetActorOfClassAt | |
int32_t | GetActorCountWithTag | |
AActor* | GetActorWithTagAt | |
AActor* | FindNearestActorWithTag | |
std::string | GetActorClassName |
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) constGetActorVelocity
C++
Vec3 GetActorVelocity(AActor* actor) constMotion. 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) constOrientation basis — the actor's axes in world space.
GetActorRightVector
C++
Vec3 GetActorRightVector(AActor* actor) constGetActorUpVector
C++
Vec3 GetActorUpVector(AActor* actor) constGetActorScale
C++
Vec3 GetActorScale(AActor* actor) constSetActorScale
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) constGetActorCountOfClass
C++
int32_t GetActorCountOfClass(const std::string& className) constIteration. 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) constGetActorCountWithTag
C++
int32_t GetActorCountWithTag(const std::string& tag) constGetActorWithTagAt
C++
AActor* GetActorWithTagAt(const std::string& tag, int32_t index) constFindNearestActorWithTag
C++
AActor* FindNearestActorWithTag(const Vec3& origin, const std::string& tag) constGetActorClassName
C++
std::string GetActorClassName(AActor* actor) constGenerated from Game/MActorStatics.h via game.json · Nov 5, 2026Version 1.0.0