From 25427f1b4cd1da799b392ceed1dd778fdc5daa4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Tue, 20 Dec 2022 23:25:21 +0100 Subject: ksys/phys: Add RagdollController (the real one, not RagdollInstance) --- src/KingSystem/Physics/System/physSystem.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/KingSystem/Physics/System/physSystem.cpp') 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 -- cgit v1.2.3