unity-physics

Execute Unity raycasts, overlap checks, and gravity configuration with structured results.

1|Updated Feb 28, 2026
One-click install
npx skills add https://github.com/muddyrain/valley-mas --skill unity-physics-muddyrain
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-physics
Source: https://github.com/muddyrain/valley-mas/tree/main/.codex/skills/unity-skills/skills/physics
Command: npx skills add https://github.com/muddyrain/valley-mas --skill unity-physics-muddyrain

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Unity projects often need a concise, reliable toolkit to perform core physics operations like raycasting, overlap checks, and gravity configuration without boilerplate code.

Core Features & Use Cases

  • Raycast and get hit info for gameplay decisions, AI sensing, and collision handling.
  • Check for overlaps to trigger area-based events and physics queries.
  • Read and adjust gravity settings at runtime to tune gameplay physics.

Quick Start

Run a simple test to cast a ray and verify a hit against a target object.

Frequently Asked Questions about unity-physics

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

FAQPage Schema
How do I execute Unity raycasts and get structured hit info for gameplay scripting?

You can execute Unity raycasts by providing a canonical set of parameters to perform the cast and return structured hit info. This supports gameplay decisions, AI sensing, and collision handling without boilerplate code.

What is the best way to check physics overlaps for area-based events in Unity?

The best way to check physics overlaps is using a toolkit that performs overlap checks with a canonical parameter set. This allows you to trigger area-based events and run physics queries reliably.

Can I read and adjust Unity gravity settings at runtime for real-time physics tuning?

Yes, you can read and adjust Unity gravity settings at runtime. This allows you to tune gameplay physics dynamically during real-time sessions without modifying static project configurations.

Does this Unity physics toolkit support AI navigation and collision handling?

Yes, the Unity physics toolkit explicitly supports AI navigation and collision handling. It executes raycasts and overlap checks applicable to these tasks, returning structured results for gameplay logic.

How do I cast a ray and verify a hit against a target object in Unity?

To cast a ray and verify a hit, run a simple test operation using the toolkit's canonical raycast parameters. It executes the physics operation and returns structured results confirming the target object hit.