diff options
| author | Léo Lam <leo@leolam.fr> | 2022-12-19 12:25:57 +0100 |
|---|---|---|
| committer | Léo Lam <leo@leolam.fr> | 2022-12-20 16:27:40 +0100 |
| commit | 08ccaf9c3ce8c9ac637a5ea6b5e2f27799ec9fe2 (patch) | |
| tree | 3fa4d815efdd18bbb8f8ef238d5d23d6f6de506f /src/KingSystem/Physics/System/physInstanceSet.cpp | |
| parent | faf29549c6f8ecbf575325fefa3ba9f6abcd0f4e (diff) | |
ksys/phys: Add RagdollController::getTransform and more
Credit to @Dragorn421 for helping me figure out the rotation matrix
thing in the getTransform function
Diffstat (limited to 'src/KingSystem/Physics/System/physInstanceSet.cpp')
| -rw-r--r-- | src/KingSystem/Physics/System/physInstanceSet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/KingSystem/Physics/System/physInstanceSet.cpp b/src/KingSystem/Physics/System/physInstanceSet.cpp index 872cd713..6e5269c8 100644 --- a/src/KingSystem/Physics/System/physInstanceSet.cpp +++ b/src/KingSystem/Physics/System/physInstanceSet.cpp @@ -192,7 +192,7 @@ void InstanceSet::sub_7100FBD284(const sead::Matrix34f& mtx) { if (mRagdollController == nullptr) return; - if (mRagdollController->sub_7101221CC4() == 0) + if (mRagdollController->getWorldState() == RagdollController::WorldState::AddedToWorld) sub_7100FBC890(mtx, false, false); } |
