diff options
| author | Léo Lam <leo@leolam.fr> | 2022-01-21 17:07:42 +0100 |
|---|---|---|
| committer | Léo Lam <leo@leolam.fr> | 2022-01-22 20:09:57 +0100 |
| commit | 719c5f02a70616520ccb0c2b22aa370437cf1cc7 (patch) | |
| tree | 37f22b7cd97f3de57a3b332531a375cda6aa38dc /src/KingSystem/Physics/System/physInstanceSet.cpp | |
| parent | c36c03c6fb698775e59256df097b242c789d33ee (diff) | |
ksys/phys: Add more RigidBody functions (motion, collision mask)
Diffstat (limited to 'src/KingSystem/Physics/System/physInstanceSet.cpp')
| -rw-r--r-- | src/KingSystem/Physics/System/physInstanceSet.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/KingSystem/Physics/System/physInstanceSet.cpp b/src/KingSystem/Physics/System/physInstanceSet.cpp index 932bcb29..01e568c7 100644 --- a/src/KingSystem/Physics/System/physInstanceSet.cpp +++ b/src/KingSystem/Physics/System/physInstanceSet.cpp @@ -136,8 +136,8 @@ void InstanceSet::sub_7100FBB00C(phys::RigidBody* body, phys::RigidBodyParam* pa body->sub_7100F8F8CC(instance_params.contact_layer, instance_params.groundhit, _188[body->isSensor()]); } - body->setCollideGround(instance_params.no_hit_ground == 0); - body->setCollideWater(instance_params.no_hit_water == 0); + body->enableGroundCollision(instance_params.no_hit_ground == 0); + body->enableWaterCollision(instance_params.no_hit_water == 0); body->sub_7100F8F51C(); } |
