diff options
| author | Léo Lam <leo@leolam.fr> | 2022-12-18 18:35:29 +0100 |
|---|---|---|
| committer | Léo Lam <leo@leolam.fr> | 2022-12-19 00:07:21 +0100 |
| commit | bdd2015a088f6331e809aad6a65ca8d239b5cae9 (patch) | |
| tree | d113f3b9b5a9ad683be533aa05d392a272573116 /src/KingSystem/Physics/System/physInstanceSet.cpp | |
| parent | 20be3a197a8296b0e3d7f07f87c2bc6d526aa203 (diff) | |
ksys/phys: Implement more RagdollController functions
Diffstat (limited to 'src/KingSystem/Physics/System/physInstanceSet.cpp')
| -rw-r--r-- | src/KingSystem/Physics/System/physInstanceSet.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/KingSystem/Physics/System/physInstanceSet.cpp b/src/KingSystem/Physics/System/physInstanceSet.cpp index df7bcfa4..872cd713 100644 --- a/src/KingSystem/Physics/System/physInstanceSet.cpp +++ b/src/KingSystem/Physics/System/physInstanceSet.cpp @@ -104,10 +104,10 @@ void InstanceSet::sub_7100FBACE0(phys::ContactLayer layer) { return; if (mRagdollController != nullptr) - mRagdollController->sub_7101221728(layer); + mRagdollController->disableContactLayer(layer); if (mCharacterController != nullptr) - mCharacterController->enableCollisionMaybe_0(layer); + mCharacterController->disableContactLayer(layer); } void InstanceSet::sub_7100FBAD74() { @@ -115,7 +115,7 @@ void InstanceSet::sub_7100FBAD74() { rb.disableAllContactLayers(); } if (mRagdollController != nullptr) { - mRagdollController->sub_71012217A8(); + mRagdollController->setContactNone(); } if (mCharacterController != nullptr) { mCharacterController->sub_7100F60604(); |
