Commit Graph

48 Commits

Author SHA1 Message Date
Léo Lam a33ebd2130 ksys/phys: Introduce {First,Last}{Entity,Sensor} constants to improve clarity 2022-01-23 17:00:44 +01:00
Léo Lam 719c5f02a7 ksys/phys: Add more RigidBody functions (motion, collision mask) 2022-01-22 20:09:57 +01:00
Léo Lam c36c03c6fb ksys/phys: Start adding ContactListener 2022-01-21 15:27:55 +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
Léo Lam 98c69ebaef ksys/phys: Add one more RigidBody function 2022-01-21 12:20:05 +01:00
Léo Lam 52e2111ff3 ksys/phys: Add even more RigidBody functions 2022-01-19 00:33:49 +01:00
Léo Lam 8dd5608b79 ksys/phys: Rename RigidBody "isMassScaling" mode to "isSensor"
That also explains the comparison against 1 (ContactLayerType::Sensor)
in the constructor.
2022-01-17 17:02:11 +01:00
Léo Lam 392c0973c7 ksys/phys: Add a bunch of easy RigidBody functions 2022-01-17 16:58:22 +01:00
Léo Lam 4eb07ca88c ksys/phys: Start adding RigidBodyRequestMgr 2022-01-16 23:29:48 +01:00
Léo Lam 99b913f86d ksys/phys: Move RigidBodyRequestMgr to its own header 2022-01-16 15:55:42 +01:00
Léo Lam 2ed36c7dc0 ksys/phys: Add prerequisites for RigidBody (RigidBodyParam fixes)
Seems to have fixed _ZN4ksys4phys11InstanceSet14sub_7100FBB00CEPNS0_9RigidBodyEPNS0_14RigidBodyParamE
2022-01-16 13:00:35 +01:00
Léo Lam 278b088bd1 ksys/phys: Rename RigidBodyParamView to RigidBodyInstanceParam for clarity 2022-01-13 12:14:05 +01:00
Léo Lam 88921dbd7a ksys/phys: Add 3 easy RigidBody functions and fix some types 2022-01-11 22:13:55 +01:00
Léo Lam 6ef3bb9327 ksys/phys: Add RigidBodyAccessor 2022-01-10 01:38:20 +01:00
Léo Lam b4bbaf141f ksys/phys: Add MemSystem::initSystemData 2022-01-07 01:51:13 +01:00
Léo Lam 53c5d03420 ksys/phys: Move RagdollControllerKeyList to Ragdoll folder 2022-01-07 01:33:26 +01:00
Léo Lam 3f33ba5d59 ksys/phys: Implement ContactMgr contact point pool functions 2022-01-04 19:20:41 +01:00
Léo Lam 8cf2def97c ksys/phys: Rename RigidContactPointsEx::Point to ContactPoint
It's not just used in RigidContactPointsEx::Point.
2022-01-04 18:39:46 +01:00
Léo Lam 6511ecd711 ksys/phys: Match CapsuleShape::init 2022-01-04 02:19:10 +01:00
Léo Lam eb16cbaf55 ksys/phys: Add MaterialMask 2022-01-03 23:53:40 +01:00
Léo Lam 32531ba067 ksys/phys: Add RigidContactPoints allocation functions 2021-12-29 18:15:50 +01:00
Léo Lam 8ba8563775 ksys/phys: Add RigidContactPointsEx iterator 2021-12-29 17:54:43 +01:00
Léo Lam b513fbbf03 ksys/phys: Start adding RigidContactPoints
Super messy stuff. I have no idea what it's used for
2021-12-29 02:19:32 +01:00
Léo Lam e187c1ecfd ksys/phys: Fix parameter names for ContactMgr
forgot to rename the parameters in SystemData
2021-12-27 13:03:43 +01:00
Léo Lam 536a00138e ksys/phys: Start adding ContactMgr
Also renames ContactInfoTable to ContactMgr because the contact info
table is a separate data structure that's managed by ContactMgr;
the manager itself handles more than just the table data
2021-12-27 13:00:03 +01:00
Léo Lam 90f83901ad ksys/phys: Implement the easier parts of EntityGroupFilter 2021-12-26 13:06:50 +01:00
Léo Lam e9024ed406 ksys/phys: Move orGroundHitTypeMask to the correct TU 2021-12-24 23:05:09 +01:00
Léo Lam a816125247 ksys/phys: Finish SystemData and start implementing GroupFilter 2021-12-24 21:48:41 +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
Léo Lam 6b3799a354 ksys/phys: Start adding GroupFilter 2021-12-22 15:43:43 +01:00
Léo Lam fb8f0c636e ksys: Change isSensorLayer to getContactLayerType
The == 0 and == 1 comparisons suggest that the function actually
returns a ContactLayerType rather than a boolean
2021-12-15 11:21:56 +01:00
theo3 87e8bafae2 havok stubs and ksys::phys work 2021-12-14 00:08:16 -08:00
Léo Lam d10dd65dcd ksys/phys: Add some prerequisites for ContactInfoTable 2021-10-30 16:17:39 +02:00
Léo Lam 70aaa429fe ksys/phys: Start adding SystemData
- SystemData (WIP)
- MaterialTable (should be complete)
2021-10-30 12:17:26 +02:00
Léo Lam 4b6f513606 ksys: Start adding PhysicsConstraints 2021-10-16 16:40:15 +02:00
Léo Lam 89939a2300 ksys: Start adding PhysicsUserTag 2021-10-16 16:15:18 +02:00
AlexApps99 42807160cf Add #ifdef declarations for NON_MATCHING code 2021-07-26 23:05:19 +12:00
MonsterDruide1 3be9a6927d ksys/phys: Add RagdollControllerKeyList-Resource 2021-07-09 13:13:52 +02:00
Léo Lam dd0cc52ce9 ksys: Move ActorParam classes into separate folder to declutter Resource/ 2021-06-15 18:04:39 +02:00
Léo Lam 6deecbee61 ksys/phys: Add isSensorLayer and makeContactLayerMask 2021-04-24 11:18:14 +02:00
Léo Lam c6630576bb Simplify agl::utl::IParameterObj::applyResParameterObj calls 2021-04-23 19:45:14 +02:00
Léo Lam 136f20427d ksys/phys: Implement ParamSet and res::Physics 2021-04-22 19:37:58 +02:00
Léo Lam cbe711e595 ksys/phys: Add RigidBodyParam 2021-04-22 18:21:36 +02:00
Léo Lam b687a50f46 ksys/phys: Remove obsolete comment 2021-04-22 01:32:27 +02:00
Léo Lam dd705aea99 ksys/phys: Add CharacterControllerParam 2021-04-22 01:18:45 +02:00
Léo Lam 1631e2aae3 ksys/phys: Add ContactInfoParam 2021-04-21 18:49:25 +02:00
Léo Lam f59bc21b3a ksys/phys: Add ShapeParam 2021-04-21 18:20:18 +02:00
Léo Lam f9d6eedc9f ksys/phys: Start adding physics parameter structs
* SupportBoneParam
* RagdollParam
* ClothSetParam, ClothSubWindParam, ClothParam
* EdgeRigidBodySetParam, EdgeRigidBody
* ParamSet (only the header for now)
2021-04-21 13:02:00 +02:00