# godot-adapt-2d-to-3d

godot-adapt-2d-to-3d migrates Godot games from 2D to 3D. It handles node mapping, SpringArm3D camera rigs, physics layers, and camera-relative movement.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 342 installs · ★ 983 repo stars
- 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-adapt-2d-to-3d/SKILL.md
- Updated: 2026-10-16
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/godot-adapt-2d-to-3d

## What it does

This skill guides the agent through transitioning Godot projects into three dimensions. It maps classic 2D nodes to their 3D counterparts, substituting `CharacterBody2D` with `CharacterBody3D`, replacing `Camera2D` with a `SpringArm3D` and `Camera3D` hierarchy, and adjusting shape resources for static bodies.

Included helper scripts handle vector conversion, billboard Sprite3D setups, projected UI, and camera-relative motion across the XZ plane. A direct conversion of `Vector2` into `Vector3(x, y, 0)` is forbidden because it lacks gameplay depth. 3D physics requires separate layer settings, unlit scenes render black without lights, and raw camera parenting causes visual stutter.

## Requirements
- Works with: Godot

## Install

### Claude Code (native platform)

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

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

### Codex

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

2. **Manually: put the files in place**
- File: `.agents/skills/godot-adapt-2d-to-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-adapt-2d-to-3d -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/godot-adapt-2d-to-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 skills/godot-adapt-2d-to-3d
```

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

### Gemini CLI

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

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

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/godot-adapt-2d-to-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-adapt-2d-to-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-adapt-2d-to-3d/SKILL.md

## When to use it
- convert CharacterBody2D and Area2D scenes into 3D equivalents
- build a third-person camera using SpringArm3D and Camera3D
- rebuild collision layer bitmasks for 3D physics
- calculate camera-relative movement vectors across the XZ plane
- set up 2.5D billboard sprites using Sprite3D or QuadMesh

## Example prompts
- Convert my CharacterBody2D movement script to camera-relative CharacterBody3D
- Help me reconfigure physics layers for 3D nodes
- Set up a Sprite3D billboard that faces the camera

## Similar
- [godot-physics](https://affpapa.org/en/nevibecode/skills/godot-physics.md) — skill · 12400 installs
- [godot-2d-movement](https://affpapa.org/en/nevibecode/skills/godot-2d-movement.md) — skill · 12000 installs
- [scenario-godot-3d-world](https://affpapa.org/en/nevibecode/skills/scenario-godot-3d-world.md) — skill · 461 installs
- [scenario-godot-animation](https://affpapa.org/en/nevibecode/skills/scenario-godot-animation.md) — skill · 458 installs
- [godot-optimization](https://affpapa.org/en/nevibecode/skills/godot-optimization.md) — skill · 733 installs
- [godot](https://affpapa.org/en/nevibecode/skills/godot.md) — skill · 3 installs

From the same set: [thedivergentai/game-dev-agentic-skills](https://affpapa.org/en/nevibecode/by/thedivergentai/game-dev-agentic-skills.md) — 100 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
