Skip to main content
skill CX Codex

fix-3d-physics-collisions — Claude Code skill: 3D physics repair

fix-3d-physics-collisions — a skill for Claude Code that diagnoses and repairs Unity 3D physics, including failed collision events and trigger issues. It runs when resolving OnCollisionEnter or OnTriggerEnter errors.

no license 673 installs ★ 1,306 updated 2026-10-23

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add Unity-Technologies/skills --skill fix-3d-physics-collisions -a claude-code
Open on GitHub

What fix-3d-physics-collisions does

The skill diagnoses PhysX collision, trigger, and raycast problems by analyzing project settings and using the unity-cli for state verification. It references official Unity manual documentation based on the version found in ProjectSettings/ProjectVersion.txt. Always create a restore point before running corrections, as the skill performs targeted edits.

It avoids leaving verification code or logs in the user scripts and requires Unity 6000.3 or newer to function properly.

What it helps with

  • resolve objects passing through colliders
  • fix failed OnTriggerEnter event execution
  • configure MeshCollider properties correctly
  • debug inaccurate Raycast misses

Example prompts for the agent

  • Fix the OnCollisionEnter not firing in PlayerController.cs
  • Why are raycasts missing the MeshCollider objects?

How to install fix-3d-physics-collisions

1Skills CLI (Vercel)

npx skills add Unity-Technologies/skills --skill fix-3d-physics-collisions -a claude-code

2Manually: put the files in place

~/.claude/skills/fix-3d-physics-collisions/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/fix-3d-physics-collisions/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about fix-3d-physics-collisions

How to install fix-3d-physics-collisions in Claude Code?

Run npx skills add Unity-Technologies/skills --skill fix-3d-physics-collisions -a claude-code, then use the config file at ~/.claude/skills/fix-3d-physics-collisions/SKILL.md.

What does fix-3d-physics-collisions do?

It diagnoses and fixes 3D PhysX issues like trigger failures, layer-based collision bugs, and raycast misses in Unity projects.

What is required for fix-3d-physics-collisions?

It requires Unity 6000.3 or higher and the unity-cli tool to be available in your environment.

Similar skills

All skills for Game dev and 3D: Unity, Unreal, Godot, Blender →

From the same set38

The whole set →
build-gtk build-gtk lets the agent author graph and state machine tools in the Unity editor through the public Unity.GraphToolkit.Editor API, checking the editor version first. CX Codex +1 2,900installs unity-pipeline unity-pipeline connects an AI agent to a running Unity Editor or dev Player to run tests, trigger compilations, and reload C# methods on the fly. CX Codex +1 2,700installs create-tile-palette-or-rule-tiles create-tile-palette-or-rule-tiles is a Claude Code skill that builds a 2D tile palette or sets up a RuleTile to connect nearby tiles as you paint. It supports level layout and terrain joining. CX Codex +1 2,400installs create-2d-physics create-2d-physics is a Claude Code skill that configures and debugs Unity 2D physics across legacy Rigidbody 2D and 2D Physics Core setups. CX Codex +1 2,400installs craft-game-floors The craft-game-floors Claude Code skill guides Unity projects through visual and gameplay improvements. It runs during project creation or when asked to polish a game, add sound, or assess its presentation. CX Codex +1 1,100installs localize-unity-project The localize-unity-project Claude Code skill configures Unity Localization with locales, String and Asset Tables, and fonts for Chinese, Japanese, and Korean text. It runs for requests to add languages or translate UI copy. CX Codex +1 659installs manage-cloud-build manage-cloud-build — a skill for Claude Code and other platforms that configures Unity Build Automation targets and diagnoses failed cloud builds. Use it to set up new build configurations or troubleshoot build errors. CX Codex +1 614installs create-xr create-xr — a skill for Claude Code and Codex that prepares Unity projects for XR. Runs when requesting OpenXR setup, Quest graphics tuning, or an XR rig. CX Codex +1 294installs

Project sponsors

Companies that keep this analytics open