# godot-physics-3d

Supplies proven patterns for Godot 3D physics across Jolt and native backends. Solves ragdoll transitions, joint setups, stair stepping, and projectile tunneling.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 418 installs · ★ 893
- Author: thedivergentai
- License: LGPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/thedivergentai/Game-Dev-Agentic-Skills/tree/HEAD/skills/godot-physics-3d/SKILL.md
- Updated: 2026-10-16
- HTML: https://affpapa.org/en/nevibecode/skills/godot-physics-3d

## What it does

The skill prevents common Godot physics mistakes when working with Jolt or standard solvers. It blocks scaling collision shapes directly, moving bodies inside `_process()`, and modifying `RigidBody3D` transforms outside the solver. Instead, it instructs the agent to use impulses, apply torques, or utilize `CharacterBody3D` for platformer movement.

It references specific scripts for stair logic, vehicle tuning, soft bodies, and `Joint3D` breakage. Direct server allocation via `PhysicsServer3D` requires explicit `free_rid()` calls, because Godot will not garbage-collect these handles on its own.

## Requirements
- Works with: Godot

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-physics-3d -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/godot-physics-3d/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/godot-physics-3d/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-physics-3d -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/godot-physics-3d/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-physics-3d -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/godot-physics-3d/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install thedivergentai/Game-Dev-Agentic-Skills godot-physics-3d
```

2. **Manually: put the files in place**
- File: `.github/skills/godot-physics-3d/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-physics-3d -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/thedivergentai/Game-Dev-Agentic-Skills --path skills/godot-physics-3d
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/godot-physics-3d/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-physics-3d -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/thedivergentai/Game-Dev-Agentic-Skills/tree/HEAD/skills/godot-physics-3d/SKILL.md

## When to use it
- handle stair stepping smoothly using ShapeCast3D volumes
- transition character animations into PhysicalBone3D ragdolls
- eliminate projectile tunneling through walls with CCD sub-stepping
- structure 3D collision layers and masks to cut redundant checks

## Example prompts
- Implement stair step smoothing for my CharacterBody3D using ShapeCast3D.
- Set up a PhysicalBone3D ragdoll transition with an impulse on impact.
- Configure high-speed projectile collision handling to avoid tunneling through thin walls.

## Similar
- [godot-physics](https://affpapa.org/en/nevibecode/skills/godot-physics.md) — skill · 6300 installs
- [physics-tuning](https://affpapa.org/en/nevibecode/skills/physics-tuning.md) — skill · 6900 installs
- [spritecook-use-assets-in-godot](https://affpapa.org/en/nevibecode/skills/spritecook-use-assets-in-godot.md) — skill · 555 installs
- [cli-anything-godot](https://affpapa.org/en/nevibecode/skills/cli-anything-godot.md) — skill · 548 installs
- [godot-ui](https://affpapa.org/en/nevibecode/skills/godot-ui.md) — skill · 2700 installs
- [godot-asset-generator](https://affpapa.org/en/nevibecode/skills/godot-asset-generator.md) — skill · 1000 installs

From the same set: [thedivergentai/game-dev-agentic-skills](https://affpapa.org/en/nevibecode/by/thedivergentai/game-dev-agentic-skills.md) — 61 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
