Commit Graph

6 Commits

Author SHA1 Message Date
Léo Lam 6077a63ea6 ksys/phys: Unify ContactPointInfo/CollisionInfo with InstanceSet 2022-03-01 19:31:44 +01:00
Léo Lam 18d0c53293 ksys/phys: Add some ContactListener prerequisites 2022-03-01 19:11:54 +01:00
Léo Lam a1a283acf7 ksys/phys: Add more InstanceSet members 2022-01-30 00:55:12 +01:00
Léo Lam d9eeeb6ecc ksys/phys: Add RigidBodySet 2022-01-30 00:17:02 +01:00
Léo Lam b728917ef4 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.)
2022-01-25 00:15:29 +01:00
Léo Lam 19f019b0ff ksys: Move physInstanceSet to Physics/System
It's right after EntityGroupFilter and before MaterialTable
2021-12-22 16:35:33 +01:00