unity-physics

Guide Unity Rigidbody, Collider, force, collision, raycasting, and character controller configuration.

24|5|Updated Mar 10, 2026
One-click install
npx skills add https://github.com/Nice-Wolf-Studio/unity-claude-skills --skill unity-physics
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-physics
Source: https://github.com/Nice-Wolf-Studio/unity-claude-skills/tree/main/skills/unity-physics
Command: npx skills add https://github.com/Nice-Wolf-Studio/unity-claude-skills --skill unity-physics

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides comprehensive guidance on implementing and optimizing physics simulations in Unity, enabling developers to create realistic object interactions and character movements.

Core Features & Use Cases

  • Rigidbody & Collider Setup: Learn to configure Rigidbodies and Colliders for static, dynamic, and kinematic objects.
  • Movement & Forces: Understand how to apply forces, torques, and implement character movement using Rigidbody or CharacterController.
  • Collision & Trigger Handling: Master collision detection, trigger events, and physics materials for nuanced interactions.
  • Raycasting & Overlap Queries: Implement precise scene queries for gameplay mechanics like aiming or detection.
  • 2D Physics: Covers the specifics of Unity's 2D physics engine.
  • Use Case: A game developer needs to implement realistic car physics. They can use this Skill to configure the car's Rigidbody, apply forces for acceleration and steering, handle wheel colliders, and detect collisions with the environment.

Quick Start

Explain how to set up a basic Rigidbody for a falling cube.

Frequently Asked Questions about unity-physics

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure Unity Rigidbody and Collider components for realistic physics interactions?

To configure Unity Rigidbody and Collider components, you must assign Rigidbody for dynamic mass and forces, and Colliders for shape boundaries. This Skill details setup patterns for static, dynamic, and kinematic objects to achieve realistic physical interactions and prevent common anti-patterns.

What is the best way to implement character movement using Unity physics?

The best way to implement character movement in Unity physics is by using either Rigidbody forces or a CharacterController component. This Skill provides guidance on applying forces and torques to achieve precise movement mechanics without defying the physics engine.

How do I use raycasting and overlap queries for collision detection in Unity?

Raycasting and overlap queries in Unity execute precise scene checks to detect colliders along a line or within a specified area. This Skill explains how to implement these physics queries for gameplay mechanics like aiming, targeting, and environment detection.

Does this guidance cover Unity 2D physics systems and character controllers?

Yes, this guidance covers Unity 2D physics systems and character controllers. It addresses the specific mechanics of the 2D physics engine alongside 3D Rigidbody configurations, collision detection, and trigger event handling for nuanced game interactions.

Why are my Unity physics collisions not registering trigger events correctly?

Unity physics collisions fail to register trigger events when Collider trigger flags are misconfigured or Rigidbody constraints conflict. This Skill helps troubleshoot collision detection, trigger events, and physics materials to ensure accurate and reliable object interactions.