summaryrefslogtreecommitdiff
path: root/src/KingSystem/Physics/RigidBody
AgeCommit message (Collapse)Author
2026-10-16ksys/phys: move motionTypeFromText to physUtilLéo Lam
motionTypeFromText isn't part of physDefines: its "Keyframed" string (only used there) sits between the StaticCompound and PlayReport strings in .rodata, far from physDefines' enum text, and the function is linked right after the contact listener's inline virtuals, so it most likely starts a new TU at 0x7100fd069c. Nothing separates it from getMaterialMaskFromShape and the other helpers in physUtil, so it goes in the same file and its declaration moves to physUtil.h. That part is a guess: neither function has data that would show a boundary. (AI assisted using Claude Opus 5.5)
2026-10-16ksys/phys: rename physStaticCompoundUtil to physUtilLéo Lam
Most of these helpers have nothing to do with StaticCompound: they look up material masks and collision filter info from shapes and collidables. physUtil also fits the link order, between physUserTag and physWorld, and it's what the function groups already call this block. (AI assisted using Claude Opus 5.5)
2026-10-13ksys/phys: rearrange the folder layout to match link orderLéo Lam
A folder's files are linked before its subfolders, and the rigid body files are linked as one flat sequence. ListShape is the one file that does not fit this order. | Old | New | |---|---| | RigidBody/Shape/<Kind>/phys<Kind>Shape.cpp | RigidBody/Shape/phys<Kind>Shape.cpp | | RigidBody/Shape/<Kind>/phys<Kind>RigidBody.cpp | RigidBody/physRigidBody<Kind>.cpp | | RigidBody/Shape/List/physListShapeRigidBody.cpp | RigidBody/physRigidBodyListShape.cpp | | physHavokMemoryAllocator.cpp | System/physHavokMemoryAllocator.cpp | | StaticCompound/physStaticCompound{,Mgr,RigidBodyGroup,Util}.cpp | System/ | | StaticCompound/physStaticCompound{Info,Autogen}.cpp | System/physStaticCompoundInfo.cpp | The original has the type infos' cleanup functions just before StaticCompoundInfo's functions, so the merged file defines the reflection data first, with plain static cleanup functions as in Havok's generated reflection code. Template instantiations would be emitted after the rest of the file. (AI assisted using Claude Fable 5.1 and Claude Opus 5.5)
2026-10-06Name placeholder declarations after the IDBLéo Lam
Keeps source and CSV from drifting from the IDB. Names are read from the bodies, e.g. ActionBase::applyParams is what all 13 non-stub overrides of that slot do. (AI assisted using Claude Fable 5.1 and Claude Opus 5.5)
2024-08-28Update agl, nnSdk, seadThePixelGamer
2024-07-26Update libraries and adjust code to match againThePixelGamer
2022-12-20lib: Update seadLéo Lam
2022-12-18ksys/phys: Clarify EntityCollisionMask structure and namesLéo Lam
2022-12-18ksys/phys: Finish RagdollRigidBody and add more RagdollController functionsLéo Lam
2022-12-17ksys/phys: Use named bools in RigidBody to improve call site readabilityLéo Lam
2022-11-21Implement TeraMeshRigidBody class (#107)Briggs Baltzell
2022-11-20Implement ksys::phys::CharacterPrismShape class (#106)Briggs Baltzell
2022-10-18Decompile some Action classes (#104)notyourav
* various action classes * rename instanceset fns * rename isFork -> isChangeable
2022-06-22ksys/phys: Add AlsoLockWorld to improve call site readabilityLéo Lam
2022-05-01ksys/phys: Finish ModelBoneAccessorLéo Lam
2022-04-14ksys/phys: Implement `SphereShape` and `SphereRigidBody` (#92)ConorB
2022-04-02lib: Update aglLéo Lam
2022-03-26ksys/phys: Add RagdollRigidBody stubLéo Lam
Needed for RagdollController.
2022-03-26ksys/phys: Implement several easy RigidBodyRequestMgr functionsLéo Lam
2022-03-26ksys/phys: Add RigidBodyRequestMgr::calc1Léo Lam
2022-03-23ksys/phys: Rename RigidBody flag 8 (IsAddedToWorld)Léo Lam
Forgot to do this in a previous commit.
2022-03-23ksys/phys: Add more StaticCompound functions, part 2Léo Lam
2022-03-23ksys/phys: Simplify calls to RigidBody::makeScopedLockLéo Lam
Add another overload which automatically determines whether the rigid body world should also be locked.
2022-03-22ksys/phys: Rename some RigidBody flags (add/remove from world)Léo Lam
2022-03-22ksys/phys: Add more StaticCompound stuff, part 1Léo Lam
2022-03-20ksys/phys: Add most remaining parts of RayCastLéo Lam
One last function remaining (0x0000007100fc4844) but it looks obnoxious so I'll leave it for later.
2022-03-20ksys/phys: Add PhantomLéo Lam
2022-03-15ksys/phys: Add ShapeCastLéo Lam
2022-03-13ksys/phys: Add ContactLayerCollisionInfoGroupLéo Lam
2022-03-13ksys/phys: Add impulse related ContactMgr functionsLéo Lam
2022-03-10ksys/phys: Finish EntityContactListenerLéo Lam
2022-03-05ksys/phys: Finish ContactListenerLéo Lam
2022-03-03ksys: Move CollisionMasks out of RigidBody so it can be forward declaredLéo Lam
2022-03-03ksys/phys: Add more ContactListener functions and Havok prereqsLéo Lam
2022-03-03ksys/phys: Fix accuracy issue for storeToVec3Léo Lam
Allows us to get rid of a bunch of local variables that only existed to force the entire vector to be loaded.
2022-03-02ksys/phys: ContactPointInfoEx -> ContactLayerContactPointInfoLéo Lam
Turns out it's the equivalent to ContactLayerCollisionInfo.
2022-03-01ksys/phys: Add RigidBody::setCollisionInfoLéo Lam
2022-03-01ksys: Rename RigidContactPoints to match param filesLéo Lam
2022-03-01ksys/phys: Add some ContactListener prerequisitesLéo Lam
2022-03-01ksys/phys: SensorCollisionMask layer2 -> ignored_layerLéo Lam
2022-02-28ksys/phys: Rename collision filter info structs for more clarityLéo Lam
And consistency.
2022-02-28ksys/phys: Start implementing SensorGroupFilterLéo Lam
2022-02-28ksys/phys: Add more EntityGroupFilter functionsLéo Lam
2022-02-13ksys/phys: Add CharacterControllerParam shape creationLéo Lam
2022-02-13ksys/phys: Move common headers (Defines, MaterialMask) out of System/Léo Lam
2022-02-13ksys/phys: Finish RigidBodyParam (add createEntityShapeBody)Léo Lam
2022-02-13ksys/phys: Finish RigidBodyFromShape (add factory functions)Léo Lam
2022-02-13ksys/phys: Merge RigidBodyFactory into RigidBodyFromShapeLéo Lam
RigidBodyFactory is right between RigidBodyFromResource and RigidBodyFromShape functions, and some Factory functions are known to be in the same TU as RigidBodyFromShape functions. Some factory functions also use FromShape non-static member functions.
2022-02-13ksys/phys: Implement RigidBodyParam::createRigidBodyLéo Lam
Also includes a bunch of fixes to the shape and param classes.
2022-02-12ksys/phys: Finish RigidBodyFromShapeLéo Lam