unity-physics-queries

Official

Master Unity physics query correctness.

AuthorNice-Wolf-Studio
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses common and often subtle bugs in Unity's physics query system (Raycast, SphereCast, OverlapSphere, etc.), preventing silent failures and ensuring accurate detection.

Core Features & Use Cases

  • Correct Query Selection: Guides users on choosing the right physics query for their needs (e.g., Raycast vs. OverlapSphere).
  • Allocation & Performance: Demonstrates efficient use of NonAlloc queries and buffer management to avoid garbage collection.
  • Edge Case Handling: Explains gotchas like trigger interaction defaults, hit ordering, and backface detection.
  • Use Case: Debugging why a ground check isn't working, or why a bullet seems to pass through an enemy.

Quick Start

Use the unity-physics-queries skill to understand the difference between SphereCast and OverlapSphere.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: unity-physics-queries
Download link: https://github.com/Nice-Wolf-Studio/unity-claude-skills/archive/main.zip#unity-physics-queries

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.