Commit Graph

715 Commits

Author SHA1 Message Date
Léo Lam ea9cc90f29 ksys/phys: Fix indirect <cstring> include in RigidBodyMotion 2022-01-14 13:14:24 +01:00
Léo Lam 97938cc48e ksys/phys: Start adding RigidBodyMotion 2022-01-14 13:04:25 +01:00
Léo Lam 359fb2685b ksys/phys: Rename getMotionInfo to getMotionType for clarity 2022-01-13 19:10:11 +01:00
Léo Lam 5831b9581d ksys/phys: Make MotionAccessor's getMotion less ambiguous
RigidBodyMotion has its own hkpMotion so we should make it clearer that
getMotion returns the rigid body's own internal motion.
2022-01-13 18:01:23 +01:00
Léo Lam 2b83356056 ksys/phys: Start adding RigidBodyMotionProxy 2022-01-13 16:32:27 +01:00
Léo Lam cd75ca724a ksys/phys: Rewrite toMtx34 without using intrinsics
Doing the assignments in this specific pattern of assignments is
sufficient to get the desired (bad) codegen when combined with
hkVector4f's operator() (which was added recently).
2022-01-13 12:53:28 +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 bcbc8bd2ea ksys/phys: Fix a nasty typo in toHkQuat 2022-01-13 02:47:07 +01:00
Léo Lam d37e60d7e8 ksys/phys: Rename two MotionAccessor functions for clarity 2022-01-12 22:59:51 +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 51c3397965 ksys/phys: Rename RigidBody::Flag1 to RigidBody::Flag
There's no flag enum named "Flag"
2022-01-11 17:28:25 +01:00
Léo Lam 6ef3bb9327 ksys/phys: Add RigidBodyAccessor 2022-01-10 01:38:20 +01:00
Léo Lam 5a958d10aa Havok: Add more hkVector4f functions 2022-01-09 11:58:59 +01:00
Léo Lam 17a5192490 ksys/phys: Remove obsolete comment 2022-01-07 19:59:33 +01:00
Léo Lam 16ae321058 Havok: Add hkpResponseModifier 2022-01-07 18:57:06 +01:00
Léo Lam d7a6dbcf8a ksys/phys: Fix RigidBody ctor matching issues 2022-01-07 17:15:52 +01:00
Léo Lam 15741ce3ae Havok: Add stubs for hkpRigidBody parent classes 2022-01-07 17:09:00 +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 5ffa9564ca ksys/phys: Add TeraMeshRigidBodyResource 2022-01-07 01:33:26 +01:00
Léo Lam 8a9fb5d10c ksys/phys: Add RagdollResource 2022-01-07 00:31:20 +01:00
Léo Lam 9a3016d4a9 ksys/phys: Add RigidBodyResource 2022-01-07 00:26:56 +01:00
Léo Lam 293b231fd8 ksys/phys: Add ClothResource stub 2022-01-07 00:25:38 +01:00
Léo Lam 423eb84362 ksys/phys: Implement more StaticCompound functions
The other functions require RE'ing BodyGroup, which in turn requires
RigidBody stuff
2022-01-06 23:51:07 +01:00
Léo Lam 2d1ffdf6d2 ksys/phys: Add StaticCompoundInfo 2022-01-06 12:13:25 +01:00
Léo Lam 2359ce6fb4 ksys/phys: Start adding StaticCompound (very incomplete) 2022-01-05 23:57:04 +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 7791352833 ksys/phys: Match CapsuleBody::setRadius 2022-01-04 00:25:37 +01:00
Léo Lam 64cc3c5856 ksys/phys: Match CapsuleBody::getVolume 2022-01-04 00:18:40 +01:00
Léo Lam eb16cbaf55 ksys/phys: Add MaterialMask 2022-01-03 23:53:40 +01:00
Brian Savage 0542fa53b5 Add ksysDebugInput Singleton 2021-12-31 19:16:24 +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 9c3687584b Havok: Add various classes that are used by hkpCollisionFilter 2021-12-22 16:18:47 +01:00
Léo Lam 6b3799a354 ksys/phys: Start adding GroupFilter 2021-12-22 15:43:43 +01:00
ThePixelGamer 702b0c0dd3 ksys/res: utilize the negate operator 2021-12-19 12:52:05 -06:00
Léo Lam 9f6d37bb3c Havok: Add hkVector4f::store
Fixes a matching issue in physCapsuleShape
2021-12-19 13:07:35 +01:00
Léo Lam 17fcbf8c43 Havok: Add hkpWorldCinfo 2021-12-19 12:03:55 +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 6b88a1cebe ksys/eco: Clarify how beco offset calculation works 2021-11-24 02:36:05 +01:00