Skip to content
Back to skills

Unity Physics Spatial

ASecurity

Use for Rigidbody or collider setup, collider validation, physics debugging, raycasts, proximity, or physics-related spatial analysis.

  • 34 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 16, 2026
ai-agentsdebugging

Works with

  • cli
  • mcp

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 16, 2026

npx -y skills add german-krasnikov/unity-biome-mcp --skill unity-physics-spatial --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Unity Physics Spatial?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Unity Physics Spatial
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/german-krasnikov-unity-physics-spatial/badge)](https://www.skillsdirectory.com/skills/german-krasnikov-unity-physics-spatial)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: unity-physics-spatial
description: Use for Rigidbody or collider setup, collider validation, physics debugging, raycasts, proximity, or physics-related spatial analysis.
---

# Unity Physics And Spatial Analysis

If it is not already loaded, read
`.claude/skills/unity-mcp-operations/SKILL.md` once. Use scene-authoring tools
for component mutation. Enable `SCENE` for spatial analysis and `RUNTIME` for
Play Mode diagnostics.

## Setup

```text
batch(
  commands="""
manage_component path=/Crate type=Rigidbody action=add
manage_component path=/Crate type=BoxCollider action=add
set_property path=/Crate component=Rigidbody prop=mass value=5
set_property path=/Crate component=Rigidbody prop=useGravity value=true
get_component path=/Crate type=Rigidbody
get_component path=/Crate type=BoxCollider
""",
  on_error="stop",
  atomic=True
)
check_colliders(path="/Crate")
```

For several objects:

```text
configure_objects(config="""
/CrateA Rigidbody.mass=5
/CrateB Rigidbody.mass=8
""")
```

## Spatial Checks

```text
get_spatial_context(path="/Crate", radius=5)
spatial_query(action="nearest", path="/Crate", component="Collider")
spatial_query(action="raycast", path="/Camera", target="/Crate")
validate_triggers(root="/Gameplay", min_distance=2)
```

## NavMesh

`navmesh_query` is a standalone tool and may report that AI Navigation is not
installed:

```text
navmesh_query(action="status")
navmesh_query(action="get_settings")
navmesh_query(action="set_settings", agentRadius=0.4, agentHeight=1.8, agentClimb=0.4, agentSlope=45.0)
navmesh_query(
  action="path",
  from_pos="(0,0,0)",
  to="(12,0,8)"
)
```

Use `sample` before path claims when endpoints may be off-mesh. Use
`get_settings` and `set_settings` to inspect and configure agent types.
Treat `bake` and `clear` as explicit project mutations, not read-only
analysis.

For bounded cleanup or placement regions, preview first:

```text
region_clear(
  vertices="0,0;10,0;10,10;0,10",
  filter="Temporary",
  dry_run=True,
  cap=50
)
```

Apply only after the preview count and object list match the requested scope.

## Rules

- Read Transform, Rigidbody, and collider data before editing.
- Confirm Edit Mode versus Play Mode before interpreting physics state.
- Use bounded runtime waits; never sleep and assume settling completed.
- Validate negative scale, trigger/Rigidbody relationships, and collider size.
- Use `autofit_collider` only after confirming the intended renderer bounds.
- Treat screenshots as spatial presentation evidence, not collision proof.
- Read back mass, constraints, trigger state, and bounds after changes.

Files in this skill

  • SKILL.md2.6 KB
  • SKILL.md.meta155 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.