Unity Physics

Unity 6 physics development guide. Use when working with Rigidbody, colliders, raycasting, triggers, collisions, joints, or physics simulation. Covers PhysX 5 (3D) and Box2D (2D) physics, FixedUpdate timing, layer masks, and contact data. Based on Unity 6.3 LTS documentation.

40 stars 6 forksResearch & Science

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add Nice-Wolf-Studio/unity-claude-skills --skill unity-physics
Manual install
git clone --depth 1 https://github.com/Nice-Wolf-Studio/unity-claude-skills.git /tmp/unity-claude-skills
mkdir -p ~/.claude/skills
cp -r /tmp/unity-claude-skills/skills/unity-physics ~/.claude/skills/unity-physics

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Unity Physics

## Physics System Overview

Unity provides different physics engine integrations for different project needs:

- **3D Physics (PhysX)**: Nvidia PhysX engine integration for 3D object-oriented projects
- **2D Physics (Box2D)**: Optimized 2D physics system with dedicated components
- Both systems simulate gravity, collisions, forces, and constraints

### Physics Timing

Physics runs on a fixed timestep via `FixedUpdate`, separate from the rendering frame rate:

```csharp
void FixedUpdate()
{
    // All physics code belongs here, not in Update()
    rb.AddForce(Vector3.forward * speed);
}
```

Key timing rules:
- `FixedUpdate` runs at a fixed interval (default 0.02s / 50Hz)
- Multiple `FixedUpdate` calls can occur per frame, or none
- `Time.fixedDeltaTime` controls the interval
- Use `Update` for input, `FixedUpdate` for physics forces

### Simulation Modes

`Physics.simulationMode` controls when the physics engine steps:
- **FixedUpdate** (default): Automatic simulation each fixed timestep
- **Update**: Simulate once per frame
- **Script**: Manual control via `Physics.Simulate()`

---

## Rigidbody Configuration

A Rigidbody component places a GameObject under physics engine control. A rigid body does not deform or change shape under physics forces.

### Key Properties

| Property | Description | Default |
|----------|-------------|---------|
| `mass` | Mass in kg; affects force interactions | 1 |
| `linearDamping` | Resistance to linear velocity | 0 |
Read the full skill on GitHub

Details

Skill name
unity-physics
Path
skills/unity-physics/SKILL.md
License
MIT
Repo updated
15 September 2026

FAQ

What does the Unity Physics skill do?

Unity 6 physics development guide. Use when working with Rigidbody, colliders, raycasting, triggers, collisions, joints, or physics simulation. Covers PhysX 5 (3D) and Box2D (2D) physics, FixedUpdate timing, layer masks, and contact data. Based on Unity 6.3 LTS documentation.

How do I install the Unity Physics skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add Nice-Wolf-Studio/unity-claude-skills --skill unity-physics. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Unity Physics popular?

It lives in Nice-Wolf-Studio/unity-claude-skills, which has 40 GitHub stars and 6 forks.

Related skills

Unity 2d

40

Nice-Wolf-Studio/unity-claude-skills

Unity 6 2D game development guide. Use when building 2D games, working with sprites, sprite atlas, SpriteRenderer, tilemaps, 2D physics (Rigidbody2D, Collider2D), 2D lighting, sorting layers, or sorting groups. Based on Unity 6.3 LTS documentation.

Research & Science

Unity 3d Math

40

Nice-Wolf-Studio/unity-claude-skills

Unity 3D math correctness patterns. Catches common mistakes with coordinate spaces, Quaternion, Vector3, Plane, Bounds, Transform hierarchies, raycasting projection, and floating-point precision. PATTERN format: WHEN/WRONG/RIGHT/GOTCHA. Based on Unity 6.3 LTS documentation.

Images, Video & Audio

Unity AI Navigation

40

Nice-Wolf-Studio/unity-claude-skills

Unity 6 AI and navigation guide. Use when working with NavMesh, pathfinding, NavMeshAgent, NavMeshSurface, NavMeshObstacle, off-mesh links, or Unity Sentis (ML model inference). Covers AI navigation package, runtime NavMesh baking, and common AI patterns like state machines and behavior trees. Based on Unity 6.3 LTS documentation.

AI, LLMs & Agents

Unity Physics Queries

40

Nice-Wolf-Studio/unity-claude-skills

Unity physics query correctness patterns. Catches common mistakes with Raycast, SphereCast, OverlapSphere, NonAlloc allocation, LayerMask construction, trigger interaction, hit ordering, and query type selection. PATTERN format: WHEN/WRONG/RIGHT/GOTCHA. Based on Unity 6.3 LTS.

Research & Science

Verify Skill

43

NeuroAIHub/awesome_cognitive_and_neuroscience_skills

Interactive skill verification — assess accuracy of parameters, citations, and methodology through structured expert review

Research & Science

Signal Detection Analysis

43

NeuroAIHub/awesome_cognitive_and_neuroscience_skills

Domain-validated decision logic, formulas, and interpretation guidelines for applying Signal Detection Theory to cognitive science data

Research & Science

Browse the most popular Claude skills, all research & science skills, or write your own with the skills generator.