Commit Graph

16 Commits

Author SHA1 Message Date
Léo Lam c97cf995ef
ksys/phys: Add more StaticCompound stuff, part 1 2022-03-22 19:30:14 +01:00
Léo Lam ec37bc0018
ksys/phys: Add RayCastRequestMgr 2022-03-21 03:00:36 +01:00
Léo Lam a98e5f6557
ksys/phys: Add ScopedWorldLock to simplify world locking/unlocking 2022-03-20 15:11:28 +01:00
Léo Lam 12505b6379
ksys/phys: Implement world/shape casting RayCast functions 2022-03-20 02:32:10 +01:00
Léo Lam 0c3df3ed97
ksys/phys: Add ShapeCast 2022-03-15 01:20:41 +01:00
Léo Lam a9d5f88968
ksys/phys: Add ContactLayerCollisionInfoGroup 2022-03-13 23:57:28 +01:00
Léo Lam 0e717ed15d
ksys/phys: Finish EntityContactListener 2022-03-10 12:58:34 +01:00
Léo Lam 62959cc554
ksys/phys: Start adding ClosestPointQuery and iterator stuff 2022-03-07 12:44:38 +01:00
Léo Lam b2a66ca858
ksys/phys: ContactPointInfoEx -> ContactLayerContactPointInfo
Turns out it's the equivalent to ContactLayerCollisionInfo.
2022-03-02 01:25:11 +01:00
Léo Lam 35cc8dd9ee
ksys/phys: Add RigidBody::setCollisionInfo 2022-03-01 19:50:47 +01:00
Léo Lam 11dafc6ac3
ksys/phys: Add CollisionInfo 2022-03-01 19:28:11 +01:00
Léo Lam 1ee012858c
ksys: Rename RigidContactPoints to match param files 2022-03-01 19:12:29 +01:00
Léo Lam dfcfbbe4a4
ksys/phys: Move common headers (Defines, MaterialMask) out of System/ 2022-02-13 19:08:08 +01:00
Léo Lam e1f3e551cb
ksys/phys: Add more RigidBody functions 2022-01-27 01:54:56 +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 c292675646
ksys/phys: Rename MemSystem to System
It was called MemSystem in the IDB because of a string in
ksys::InitializeApp that referred to MemSystem initialisation as
"Physics Memory System"; however that string actually referred to an
initialisation step for the physics system, not to the name of the
subsystem itself.
2022-01-21 12:43:24 +01:00