Game Physics Tuning
/physics-tuning
Stable, good-feeling physics: fixed timestep with interpolation, mass and drag, CCD against tunneling, jitter fixes and collision layers.
- License
- Apache-2.0
- By
- By GameSkill
Part of
Awesome Gamedev Agent Skills
77 portable SKILL.md skills across 12 engines (Godot, Unity, Unreal, Phaser, PixiJS, three.js, Bevy, pygame, LÖVE, Roblox, Defold, Ebitengine), with a router.
Tested by GameSkill
28/28 checks passed on Godot 4.7.2 (2026-10-28): trigger, a runnable example, a screenshot and self-check, one job per skill, and English + Chinese docs. Trigger checks match prompts against skill descriptions; they are not a live agent run.
Test reportWhat this skill does
When it triggers
Tune game physics for stable, good-feeling motion — fixed vs variable timestep, render interpolation, mass/gravity/drag, continuous collision detection (CCD) to stop tunneling, fixing jitter, and collision layers/masks. …
GameSkill's tested copy
GameSkill's tuned build of this skill: the skill files from commit 184b72be0288, plus our runnable example, test report, self-check list and Chinese guide, put through our skill process.
License: based on gamedev-skills/awesome-gamedev-agent-skills by gamedev-skills, under Apache-2.0. The ZIP keeps the license files (LICENSE, NOTICE) and lists everything GameSkill added in CHANGES.md.

Self-check
- 力和速度只在 _physics_process / FixedUpdate 里改,用固定 dt / Forces and velocity change only in the fixed step, with its dt
- 画面在两次物理帧之间插值;瞬移后调用 reset,不拖影 / Visuals interpolate between ticks, and a reset after a teleport stops the smear
- speed / physics_hz 小于最薄的墙,否则开 CCD 或限速 / speed / physics_hz is below the thinnest wall, or CCD or a speed cap is on
- 质量只影响碰撞,下落快慢用 gravity_scale 和 damp 调 / Mass only affects collisions; fall speed is tuned with gravity_scale and damp
- 碰撞层用命名常量,双方的 layer 和 mask 都检查过 / Layers use named constants, and both sides' layer and mask are checked
Install
Tell your AI
Install the skill from https://gameskill.dev/skills/physics-tuning/install.md
GameSkill's tested copy
mkdir -p .claude/skills
curl -fsSL https://gameskill.dev/dl/skills/physics-tuning.zip -o /tmp/gameskill-physics-tuning.zip
unzip -oq /tmp/gameskill-physics-tuning.zip -d .claude/skills
rm /tmp/gameskill-physics-tuning.zipWhat you get
- Worked steps: Fixed timestep for simulation, render interpolation for smoothness; Stop tunneling: CCD + a speed cap; Body tuning: mass, drag, gravity scale, material; Collision layers and masks
- A pitfalls section with the mistakes to avoid
- Bundled 1 reference doc the agent reads when needed
Good fit
- Requests about physics feel, jitter, tunneling, fixed timestep or FixedUpdate
Try this prompt
My fast projectiles pass through walls and the player jitters. Fix the physics.About this skill
Tune game physics for stable, good-feeling motion — fixed vs variable timestep, render interpolation, mass/gravity/drag, continuous collision detection (CCD) to stop tunneling, fixing jitter, and collision layers/masks. Engine-neutral. Use when the user mentions physics feel, jitter, tunneling, fixed timestep, FixedUpdate, CCD, bouncing/unstable physics, or collision layers.
From the physics-tuning SKILL.md in gamedev-skills/awesome-gamedev-agent-skills.
What's inside
- Fixed timestep for simulation, render interpolation for smoothness
- Stop tunneling: CCD + a speed cap
- Body tuning: mass, drag, gravity scale, material
- Collision layers and masks (who collides with whom)
FAQ
Game Polish Workflow
A repeatable workflow for getting an AI agent to actually improve your game: a 10-step polish loop, bilingual prompts, a troubleshooting guide for common AI-made game bugs, and playtest and release checklists.
- 10-step polish loop with done criteria
- 14 prompts in Chinese + 14 in English
Based on gamedev-skills/awesome-gamedev-agent-skills by gamedev-skills (Apache-2.0). The author's LICENSE and NOTICE files ship in the ZIP; ATTRIBUTION.md and CHANGES.md list the source commit and what GameSkill added.
Works well with
Skills the author points to as related or as the better fit for neighbouring tasks.
Godot Physics
Use Godot 4.7 physics bodies and detection in 2D and 3D: RigidBody, StaticBody, Area, and CharacterBody; collision layers vs masks; contact/overlap signals; and raycasts (RayCast nodes and direct space-state queries).
Game Input Systems
Game input architecture: action mapping, rebinding with conflict checks, keyboard, gamepad and touch, deadzones, buffering and coyote time.
Game AI: FSM, Behavior Trees & Pathfinding
NPC and enemy decision-making with state machines, behavior trees, steering and A* pathfinding, paired with your engine's navigation API.
2D Platformer
Build a 2D platformer: run/jump control with coyote time, jump buffering, and variable jump height, plus tiled levels and hazards.
More from Awesome Gamedev Agent Skills
See all 43Behavior Trees & Utility AI
Build a behavior-tree runtime and a Utility AI system with response curves, plus hybrid agents where the behavior tree drives utility scoring.
Bevy ECS
Structure a Bevy app around ECS: plugins, components and resources, systems with Query and Commands, system ordering and Time.
Card Game
Build a card game: card data, deck/hand/discard zones, draw/shuffle/reshuffle, a turn structure, costs, and effect resolution.
Create Game Assets
Plan, generate, source, normalize, and validate cohesive visual game assets.
Similar skills
pixelfx
244 pixel-art effects written as code (fire, explosions, magic, weather, UI, pickups, critters) plus a draft, render, look, refine loop for making new ones; every effect exports a sprite sheet with Aseprite-style JSON for Godot, Unity, Phaser or any engine.
Co-op Anything
Point your coding agent at a single-player game and make it co-op: an MCP server, 13 agent skills and a playbook to research, reverse engineer, build, bot-test and ship co-op mods with Steam relay networking.
Novel to Game: Build
Build a risk-matched whitebox or the approved production game for its target runtime.
Shader Art Coding (GLSL / Shadertoy)
A tested library of 186 GLSL building blocks plus a workflow for procedural fragment shaders: SDF raymarching, 2D distance fields, noise and fBm, terrain, water, clouds, lighting and tonemapping. A Python bundler inlines only the functions a shader uses, and a checker lints it for the mistakes that break WebGL. Good for game backdrops, title screens, portals, pickups and full-screen effects.