Skip to content

Unity 6.3 physics guide for 3D and 2D rigidbodies, forces, layer matrices, and raycast ground checks.

CCM score
57 of 100
skills.sh installs
15K
GitHub stars
12.1K
last updated
Nov 29, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers 3D PhysX (Rigidbody, Collider, Physics) and 2D (Rigidbody2D, Collider2D, Physics2D) as separate engines that never interact
  • Includes FixedUpdate force movement with speed clamping, ground raycasts that ignore triggers, and kinematic platform carrying
  • Enforces physics-API movement over writing transform.position, and collision versus trigger callback choice per engine
  • Designed for Unity 6.3 LTS projects where objects fall through floors, triggers stay silent, or ground rays hit the player

Install

$ npx -y skills add gamedev-skills/awesome-gamedev-agent-skills --skill unity-physics -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Unity Physics (3D PhysX and 2D)

Make objects move, collide and detect each other in Unity 6.3 LTS (6000.3). Unity has two separate physics engines: 3D (Rigidbody, Collider, Physics) and 2D (Rigidbody2D, Collider2D, Physics2D). They never interact: a Rigidbody2D falls straight through a BoxCollider, and 3D callbacks never fire on 2D objects.

When to use

  • Giving an object physical motion, responding to collisions or triggers, setting up layers, ray or shape casts for ground checks and line of sight, joints, kinematic movers.
  • The project's scenes or prefabs contain Rigidbody/Collider or Rigidbody2D/Collider2D.

When not to use: cross-engine feel (fixed timestep choice, jitter strategy, tunnelling trade-offs) → physics-tuning; Tilemap Collider 2D and composite merging → unity-tilemap-2d; pathfinding agents → unity-navmesh; reading the input that drives movement → unity-input-system. If Unity's official fix-3d-physics-collisions or create-2d-physics skill is installed and an Editor is connected, it can drive the Editor for scene setup; this skill still owns the API and the code.

Workflow

Details

Repository
github.com/gamedev-skills/awesome-gamedev-agent-skills
Category
Game Development
First seen
Nov 29, 2026

More from gamedev-skills/awesome-gamedev-agent-skills

All 69

Similar to Unity Physics

More Game Development