summaryrefslogtreecommitdiff
path: root/src/KingSystem/Physics/System/physStaticCompoundRigidBodyGroup.cpp
diff options
context:
space:
mode:
authorAlex Rawlings <65536044+gnarlings@users.noreply.github.com>2026-11-03 11:18:14 -0600
committerGitHub <noreply@github.com>2026-11-03 17:18:14 +0000
commit48a1a6fd930286ec9bbb74a0bc93f55f2c163915 (patch)
tree8196f4fcce669dd9bb502ea0af8da9b912485b69 /src/KingSystem/Physics/System/physStaticCompoundRigidBodyGroup.cpp
parent3111814870f66e1a498d9cbdac5bde88529562b8 (diff)
ksys/phys: Add RigidBodySetFromShape and RigidBodySetFromResource (#234)
Diffstat (limited to 'src/KingSystem/Physics/System/physStaticCompoundRigidBodyGroup.cpp')
-rw-r--r--src/KingSystem/Physics/System/physStaticCompoundRigidBodyGroup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/KingSystem/Physics/System/physStaticCompoundRigidBodyGroup.cpp b/src/KingSystem/Physics/System/physStaticCompoundRigidBodyGroup.cpp
index a3da25c2..f6f0aa2e 100644
--- a/src/KingSystem/Physics/System/physStaticCompoundRigidBodyGroup.cpp
+++ b/src/KingSystem/Physics/System/physStaticCompoundRigidBodyGroup.cpp
@@ -69,7 +69,7 @@ void StaticCompoundRigidBodyGroup::init(const hkpPhysicsSystem& system, sead::Ma
bool is_entity = sead::SafeString(hk_body->getName()).include("Entity");
auto layer_type = is_entity ? ContactLayerType::Entity : ContactLayerType::Sensor;
- auto* body = new (heap) RigidBodyFromResource(0.0, hk_body, layer_type, heap,
+ auto* body = new (heap) RigidBodyFromResource(hk_body, 0.0, layer_type, heap,
RigidBody::Type::StaticCompoundBody);
RigidBodyInstanceParam param;