class
FPhysicsInteractableSystem
- Module
- Game
- Header
#include "Gameplay/PhysicsInteractableSystem.h"- Namespace
Mowo
Type aliases
| Alias | Description |
|---|---|
using FLootSpawner = std::function<void(World* world, EntityID entity, const Vec3& position)> |
Public functions
| Returns | Name | Description |
|---|---|---|
SystemPhase | GetPhase | |
void | Initialize | |
void | Update | |
void | Shutdown | |
void | SetScene | |
bool | TriggerInteraction | |
bool | SetDoorOpen | |
bool | IsDoorOpen | |
bool | SetLeverEngaged | |
float | GetProgress | |
void | ApplyDamage | |
bool | BreakEntity | |
bool | IsBroken | |
void | SetLootSpawner | |
TMulticastDelegate<EntityID>& | OnDoorOpened | |
TMulticastDelegate<EntityID>& | OnDoorClosed | |
TMulticastDelegate<EntityID>& | OnLeverTriggered | |
TMulticastDelegate<EntityID>& | OnBroken |
Function details
GetPhase
C++
SystemPhase GetPhase() const overrideInitialize
C++
void Initialize(World* world) overrideUpdate
C++
void Update(float deltaTime) overrideShutdown
C++
void Shutdown() overrideSetScene
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) constSetLeverEngaged
C++
bool SetLeverEngaged(EntityID entity, bool engaged)GetProgress
C++
float GetProgress(EntityID entity) constApplyDamage
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) constSetLootSpawner
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