diff options
| author | Léo Lam <leo@leolam.fr> | 2022-01-23 01:07:28 +0100 |
|---|---|---|
| committer | Léo Lam <leo@leolam.fr> | 2022-01-25 00:15:29 +0100 |
| commit | b728917ef4753bcf7d54070947cc71785523130c (patch) | |
| tree | 915792fd7ab4108bab7de51976e1afcded5e722b /src/KingSystem/Physics/System/physSystem.h | |
| parent | 4531c033a38af5db1e7ef2c7a1acd663a643b4b9 (diff) | |
ksys/phys: Add RigidBody collision filter info functions
Including a bunch of BitFields additions so we can get the desired
codegen without sacrificing readability or flexibility.
(The alternative would be building masks and masking manually.)
getCollisionFilterInfo was changed to return a u32 instead of
EntityCollisionFilterInfo because a collision filter info mask
can be either an EntityCollisionFilterInfo or a ReceiverMask.
(Also at some point we'll probably want to rename
EntityCollisionFilterInfo because that is also used for sensor
rigid bodies and not just for entities.)
Diffstat (limited to 'src/KingSystem/Physics/System/physSystem.h')
| -rw-r--r-- | src/KingSystem/Physics/System/physSystem.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/KingSystem/Physics/System/physSystem.h b/src/KingSystem/Physics/System/physSystem.h index dcd2e556..783e7643 100644 --- a/src/KingSystem/Physics/System/physSystem.h +++ b/src/KingSystem/Physics/System/physSystem.h @@ -53,7 +53,7 @@ public: ContactLayer layer2, bool enabled); // 0x0000007101216a20 - void x_1(RigidBody* body); + void registerRigidBodyForContactSystem(RigidBody* body); void removeSystemGroupHandler(SystemGroupHandler* handler); |
