dayz-physics-engine
Installation
SKILL.md
DayZ Engine Physics (Enforce Script)
Engine-truth reference for rigid-body work in DayZ mods. Every API claim below was verified against
the decompiled vanilla v1.24 scripts; citations are path:line relative to the script root (treat
line numbers as ±3 — minor drift between builds). When something common-sounding is missing here,
check section "What does NOT exist" before assuming it exists.
How to use this skill
The body covers the 90% working set. Three bundled references hold the full deep-dives — load them only when the task needs that depth:
| Reference | Read it when |
|---|---|
references/fisica-engine-deep-dive.md |
full dBody/dGeom/dJoint signatures, raycast family tables, surfaces, drop-physics lifecycle details |
references/transport-netsync-vehiculos.md |
anything about why/how vehicles replicate, CarScript damage-by-momentum, Pawn/TransportOwnerState, push-action pattern |
references/dano-transporthit.md |
damage pipeline (MDF), EEHitBy chain, the complete TransportHit flow line-by-line, hitzones, armor reality |
references/dayz-1-30-ragdoll-and-fall.md |
1.30 Exp: .ragdoll / RagdollDef, PhysicsSetSimpleDeath, unconscious wake-while-falling, fall-damage CurveExp |