Unity-TechnologiesUnity-TechnologiesOfficialยท31 Agent Skills Included

PhysicsExamples2D

AI-ready reference skills for Unity's new PhysicsCore2D API

Guides AI agents through Unity's PhysicsCore2D API with verified code patterns for bodies, shapes, joints, queries, forces, destruction, and batching. Eliminates hallucinated API calls by providing auto-generated member references sourced directly from Unity's IntelliSense documentation. Helps developers build 2D physics gameplay faster with correct signatures, lifecycle rules, and performance patterns.
npx skills add Unity-Technologies/PhysicsExamples2D --all -g -y
Available:

Directs the AI agent to always verify PhysicsCore2D API calls against the bundled sub-skills, routes API lookups and implementation questions to the matching skill, and forbids using the legacy Physics2D component system in this project.

All Skills in This Repository (31)

Pure Emerald Level Indicators
๐Ÿ“ฆ In Repo
Unity-TechnologiesUnity-Technologies

unity-physicscore2d-layers-api

Reference public members and signatures for Unity 2D PhysicsLayers and PhysicsMask.

Official
Advanced
๐Ÿ“ฆ In Repo
Unity-TechnologiesUnity-Technologies

unity-physicscore2d-joints

Configure Unity PhysicsCore2D joints with motors, springs, limits, anchors, and non-collision settings.

Official
Intermediate
๐Ÿ“ฆ In Repo
Unity-TechnologiesUnity-Technologies

unity-physicscore2d-helpers-api

Documents PhysicsRotate, PhysicsTransform, and PhysicsUserData API signatures for Unity 6000.5.

Official
Advanced
๐Ÿ“ฆ In Repo
Unity-TechnologiesUnity-Technologies

unity-physicscore2d-joints-api

Reference Unity 2D joints API types, properties, methods, and signatures.

Official
Intermediate
๐Ÿ“ฆ In Repo
Unity-TechnologiesUnity-Technologies

unity-physicscore2d-queries

Run single-shot Unity PhysicsCore2D queries for raycasts, overlaps, and shape casts.

Official
Advanced
๐Ÿ“ฆ In Repo
Unity-TechnologiesUnity-Technologies

unity-physicscore2d-components

Documents PhysicsCore2D component authoring patterns for Unity, including Transform binding and owner-key destruction guards.

Official
Advanced
๐Ÿ“ฆ In Repo
Unity-TechnologiesUnity-Technologies

unity-physicscore2d-collision

Detect 2D collision begin and end events via PhysicsCallbacks.IContactCallback in Unity PhysicsCore2D.

Official
Advanced
๐Ÿ“ฆ In Repo
Unity-TechnologiesUnity-Technologies

unity-physicscore2d-composer-api

Document Unity.U2D.Physics.PhysicsComposer API types and member signatures from UnityEngine.PhysicsCore2DModule.xml.

Official
Advanced
๐Ÿ“ฆ In Repo
Unity-TechnologiesUnity-Technologies

unity-physicscore2d-bodies-api

Enumerate Unity 2D PhysicsCore body types, properties, and methods.

Official
Advanced
๐Ÿ“ฆ In Repo
Unity-TechnologiesUnity-Technologies

unity-physicscore2d-forces

Apply impulses, forces, torque, wind, and explosions to Unity 2D physics bodies.

Official
Advanced
๐Ÿ“ฆ In Repo
Unity-TechnologiesUnity-Technologies

unity-physicscore2d-queries-api

Locate Unity U2D PhysicsQuery method signatures and properties from XML definitions.

Official
Advanced
๐Ÿ“ฆ In Repo
Unity-TechnologiesUnity-Technologies

unity-physicscore2d-geometry-api

Enumerate Unity 6000.5 PhysicsCore2D geometry type members and signatures.

Official
Advanced

Frequently Asked Questions

FAQPage Schema
How to install PhysicsExamples2D skills?โ–ผ

Run `npx skills add Unity-Technologies/PhysicsExamples2D --all -g -y` in your terminal to install all PhysicsCore2D skills globally.

What is Unity PhysicsCore2D?โ–ผ

PhysicsCore2D is Unity's newer low-level 2D physics API (namespace Unity.U2D.Physics) that replaces the old component-based Physics2D system like Rigidbody2D and Collider2D.

How do these skills prevent wrong Unity physics code?โ–ผ

They include auto-generated API references built from Unity's own IntelliSense XML, so your AI agent verifies every method name and signature instead of guessing.

What physics topics do these skills cover?โ–ผ

They cover bodies, shapes, joints, queries, collision filtering, forces, destruction, batching, stacking, materials, events, and performance optimization for 2D games.

Do I need Unity experience to use these skills?โ–ผ

Basic Unity and C# knowledge helps, but the skills include worked examples and decision tables so your AI agent can write correct physics code from plain-English requests.

Related Repositories in Software Engineering

View All in Software Engineeringโ†’