{
  "slug": "physics-tuning",
  "skill": "physics-tuning",
  "upstream": "gamedev-skills/awesome-gamedev-agent-skills@184b72be02884f782a0058f2eeae2ce4277453e4",
  "upstreamSha": "184b72be02884f782a0058f2eeae2ce4277453e4",
  "date": "2026-10-28",
  "engine": "Godot 4.7.2",
  "env": [
    "Node v20.19.2",
    "Godot 4.7.2-stable (linux x86_64), GodotPhysics2D, 60 Hz",
    "xvfb + OpenGL 3 (gl_compatibility) for the screenshot"
  ],
  "trigger": "static",
  "passed": 28,
  "total": 28,
  "commands": [
    "(cd examples && {godot} --headless --fixed-fps 60 --path . -s tests/run_tests.gd)",
    "(cd examples && xvfb-run -a -s -screen 0 1280x720x24 {godot} --fixed-fps 60 --path . --rendering-driver opengl3 --resolution 640x360 -s tests/screenshot.gd)"
  ],
  "checks": [
    {
      "criterion": "trigger",
      "name": "SKILL.md description says when to use it",
      "pass": true,
      "detail": "Tune game physics for stable, good-feeling motion — fixed vs variable timestep, render interpolation, mass/gravity/drag,"
    },
    {
      "criterion": "trigger",
      "name": "triggers on: \"My fast bullets go through thin walls, how do I stop the tunneling?\"",
      "pass": true,
      "detail": "rank 1/117, overlap 2"
    },
    {
      "criterion": "trigger",
      "name": "triggers on: \"Physics jitter: should movement go in FixedUpdate with interpolation?\"",
      "pass": true,
      "detail": "rank 1/117, overlap 4"
    },
    {
      "criterion": "trigger",
      "name": "triggers on: \"Tune mass, drag and gravity so the rigidbody stops feeling floaty\"",
      "pass": true,
      "detail": "rank 1/117, overlap 6"
    },
    {
      "criterion": "trigger",
      "name": "does not trigger on: \"Add screen shake and hit stop when the sword lands\"",
      "pass": true,
      "detail": "rank 4/117, overlap 1"
    },
    {
      "criterion": "trigger",
      "name": "does not trigger on: \"Write a save system with versioned migrations\"",
      "pass": true,
      "detail": "rank 26/117, overlap 0"
    },
    {
      "criterion": "runs",
      "name": "headless physics checks: rule of thumb flags the bullet",
      "pass": true,
      "detail": "40 px per step vs a 4 px wall"
    },
    {
      "criterion": "runs",
      "name": "headless physics checks: rule of thumb passes a slow body",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "headless physics checks: without CCD the fast bullet tunnels through the thin wall",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "headless physics checks: with CCD_MODE_CAST_RAY the same bullet is stopped",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "headless physics checks: speed cap keeps direction and clamps length",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "headless physics checks: speed cap leaves slow velocity alone",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "headless physics checks: a 10x heavier body falls at the same speed",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "headless physics checks: gravity_scale 1.5 gives 1.5x the fall speed",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "headless physics checks: linear_damp makes the body stop sooner",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "headless physics checks: free body keeps its speed with default damp 0",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "headless physics checks: damping per tick matches v * (1 - damp / 60)",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "headless physics checks: player and enemy both passed through the pickup zone",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "headless physics checks: pickup (mask = player) sees the player",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "headless physics checks: pickup ignores the enemy on another layer",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "headless physics checks: visual is halfway between the last two physics states at alpha 0.5",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "headless physics checks: reset after a teleport removes the smear",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "headless physics checks: exits 0 with no script errors",
      "pass": true,
      "detail": "exit 0"
    },
    {
      "criterion": "output",
      "name": "screenshot screenshot.png rendered",
      "pass": true
    },
    {
      "criterion": "output",
      "name": "self-check list has at least 3 items",
      "pass": true,
      "detail": "5 items"
    },
    {
      "criterion": "single",
      "name": "one job per skill (reviewed)",
      "pass": true,
      "detail": "One job: engine-neutral physics stability and feel (timestep, interpolation, body tuning, CCD, layers). Engine APIs and jump feel are handed to godot-physics, unity-physics and input-systems."
    },
    {
      "criterion": "bilingual",
      "name": "English SKILL.md from upstream",
      "pass": true
    },
    {
      "criterion": "bilingual",
      "name": "Chinese guide written",
      "pass": true,
      "detail": "794 chars"
    }
  ]
}
