Setting Up Physics

Configure Rigidbodies and Colliders with physics properties in Unity.

64|4|Updated Jan 23, 2026
One-click install
npx skills add https://github.com/gamekit-agent/gamekit-cli --skill setting-up-physics
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Setting Up Physics
Source: https://github.com/gamekit-agent/gamekit-cli/tree/main/template/.claude/skills/setting-up-physics
Command: npx skills add https://github.com/gamekit-agent/gamekit-cli --skill setting-up-physics

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you implement realistic physical interactions for objects in your Unity projects, ensuring they behave as expected when falling, bouncing, or colliding.

Core Features & Use Cases

  • Rigidbody Configuration: Set up gravity, mass, and drag for dynamic object movement.
  • Collider Setup: Define collision boundaries and trigger zones for interaction detection.
  • Physics Materials: Customize bounciness and friction for unique surface properties.
  • Use Case: You're building a platformer and need your character to jump and land on platforms, or you're creating a simulation where objects need to stack and react to forces.

Quick Start

Add a Rigidbody and a BoxCollider to the selected GameObject to make it fall and collide.

Frequently Asked Questions about Setting Up Physics

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

FAQPage Schema
How do I set up Unity physics for objects to fall and collide?

To set up Unity physics, add a Rigidbody and a Collider to your GameObject. The Rigidbody enables gravity and dynamic movement, while the Collider defines the physical boundaries required for collision detection.

How do I make objects bounce in Unity with physics materials?

To make objects bounce in Unity, assign a Physics Material to your Collider. This material lets you customize bounciness and friction properties to simulate unique surface reactions during collisions.

Can I use Unity triggers for interaction detection without physical collisions?

Yes, you can configure Unity Colliders as triggers for interaction detection. Trigger zones allow you to detect overlapping objects without generating physical collision responses or blocking movement.

What is the best way to manage mass and drag for Rigidbody game objects?

Managing mass and drag is done through Rigidbody configuration. Adjusting mass affects how objects react to forces, while drag controls resistance to movement, enabling realistic dynamic interactions.

How do I optimize collision detection using the Unity collision matrix?

Optimize collision detection by using layer-based collision matrix configuration. Organizing game objects into layers limits unnecessary physics calculations, improving simulation performance for complex scenes.

Why do I need both a Rigidbody and a Collider for Unity physics simulation?

A Rigidbody handles physical forces like gravity and mass, while a Collider defines the object's shape for impacts. Both components are required together to simulate realistic interactions like falling and stacking.