summaryrefslogtreecommitdiff
path: root/src/KingSystem/Physics/System/physSystem.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2022-12-20 23:25:21 +0100
committerLéo Lam <leo@leolam.fr>2022-12-21 12:25:49 +0100
commit25427f1b4cd1da799b392ceed1dd778fdc5daa4a (patch)
treee0806b295db0c03c095d96274dc1fc63b9d7f990 /src/KingSystem/Physics/System/physSystem.cpp
parent3fc168ab9953a0ab20fa3660f4f73dd361419fb9 (diff)
ksys/phys: Add RagdollController (the real one, not RagdollInstance)
Diffstat (limited to 'src/KingSystem/Physics/System/physSystem.cpp')
-rw-r--r--src/KingSystem/Physics/System/physSystem.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/KingSystem/Physics/System/physSystem.cpp b/src/KingSystem/Physics/System/physSystem.cpp
index 15d13578..0428a92a 100644
--- a/src/KingSystem/Physics/System/physSystem.cpp
+++ b/src/KingSystem/Physics/System/physSystem.cpp
@@ -67,4 +67,10 @@ void System::registerContactPointInfo(ContactPointInfo* info) const {
mContactMgr->registerContactPointInfo(info);
}
+RagdollControllerKeyList* System::getRagdollCtrlKeyList() const {
+ if (!mSystemData)
+ return nullptr;
+ return mSystemData->getRagdollCtrlKeyList();
+}
+
} // namespace ksys::phys