class

FPhysicsInteractableSystem

Module
Game
Header
#include "Gameplay/PhysicsInteractableSystem.h"
Namespace
Mowo

Type aliases

AliasDescription
using FLootSpawner = std::function<void(World* world, EntityID entity, const Vec3& position)>

Public functions

ReturnsNameDescription
SystemPhaseGetPhase
voidInitialize
voidUpdate
voidShutdown
voidSetScene
boolTriggerInteraction
boolSetDoorOpen
boolIsDoorOpen
boolSetLeverEngaged
floatGetProgress
voidApplyDamage
boolBreakEntity
boolIsBroken
voidSetLootSpawner
TMulticastDelegate<EntityID>&OnDoorOpened
TMulticastDelegate<EntityID>&OnDoorClosed
TMulticastDelegate<EntityID>&OnLeverTriggered
TMulticastDelegate<EntityID>&OnBroken

Function details

GetPhase

C++
SystemPhase GetPhase() const override

Initialize

C++
void Initialize(World* world) override

Update

C++
void Update(float deltaTime) override

Shutdown

C++
void Shutdown() override

SetScene

C++
void SetScene(Scene* scene)

TriggerInteraction

C++
bool TriggerInteraction(EntityID entity)

SetDoorOpen

C++
bool SetDoorOpen(EntityID entity, bool open)

IsDoorOpen

C++
bool IsDoorOpen(EntityID entity) const

SetLeverEngaged

C++
bool SetLeverEngaged(EntityID entity, bool engaged)

GetProgress

C++
float GetProgress(EntityID entity) const

ApplyDamage

C++
void ApplyDamage(EntityID entity, float damage, const Vec3& point, const Vec3& normal)

BreakEntity

C++
bool BreakEntity(EntityID entity)

IsBroken

C++
bool IsBroken(EntityID entity) const

SetLootSpawner

C++
static void SetLootSpawner(FLootSpawner spawner)

OnDoorOpened

C++
TMulticastDelegate<EntityID>& OnDoorOpened()

OnDoorClosed

C++
TMulticastDelegate<EntityID>& OnDoorClosed()

OnLeverTriggered

C++
TMulticastDelegate<EntityID>& OnLeverTriggered()

OnBroken

C++
TMulticastDelegate<EntityID>& OnBroken()
Generated from Gameplay/PhysicsInteractableSystem.h via game.json · Nov 5, 2026Version 1.0.0