unity-physicscore2d-geometry-api

Enumerate Unity 6000.5 PhysicsCore2D geometry type members and signatures.

730|105|Updated Mar 4, 2017
One-click install
npx skills add https://github.com/Unity-Technologies/PhysicsExamples2D --skill unity-physicscore2d-geometry-api
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-physicscore2d-geometry-api
Source: https://github.com/Unity-Technologies/PhysicsExamples2D/tree/main/.claude/skills/unity-physicscore2d-geometry-api
Command: npx skills add https://github.com/Unity-Technologies/PhysicsExamples2D --skill unity-physicscore2d-geometry-api

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Authoritative Unity 6000.5 PhysicsCore2D API reference for Geometry Primitives. Lists every type, property, field, and method (with signatures, params, returns) for: CapsuleGeometry, ChainGeometry, ChainSegmentGeometry, CircleGeometry, PhysicsAABB, PhysicsPlane, PolygonGeometry, SegmentGeometry. Use whenever working with these types in code.

Core Features & Use Cases

  • Comprehensive member listing: Provides full signatures, parameters, and returns for all geometry primitives.
  • API reference for development and code review: Use during implementation, debugging, and API validation for 2D physics code.
  • Use Case: When implementing geometry-based features (collisions, shapes, AABBs) in Unity 2D projects, consult the API to ensure correct usage and naming.

Quick Start

Refer to this API reference to look up exact member signatures for each geometry type before implementing code.

Frequently Asked Questions about unity-physicscore2d-geometry-api

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

FAQPage Schema
How do I get correct method signatures for Unity 2D physics geometry types?

The Unity 6000.5 PhysicsCore2D geometry API provides comprehensive member listings for types like CapsuleGeometry and CircleGeometry. Use this reference to validate exact properties, fields, and method signatures during code writing and review.

What is the correct way to implement 2D collision shapes using PhysicsCore2D?

Implementing 2D collision shapes with PhysicsCore2D requires using specific geometry primitives like PolygonGeometry and SegmentGeometry. The API reference provides exact type names and member signatures to correctly construct these shapes in Unity 2D projects.

Does Unity 6000.5 PhysicsCore2D support ChainGeometry for complex 2D physics shapes?

Yes, Unity 6000.5 PhysicsCore2D supports ChainGeometry alongside ChainSegmentGeometry for complex 2D physics shapes. The API reference lists all available member signatures and properties for these types to facilitate accurate feature implementation.

What's the best way to look up PhysicsAABB and PhysicsPlane parameters in Unity 2D?

The best way to look up PhysicsAABB and PhysicsPlane parameters in Unity 2D is consulting the PhysicsCore2D geometry API reference. It enumerates comprehensive signatures, parameters, and return values for these primitives to validate code.

Why do I need an API reference for Unity 2D physics geometry types during code review?

You need an API reference for Unity 2D physics geometry types during code review to validate correct usage and naming of primitives like CircleGeometry and CapsuleGeometry. It ensures implemented signatures match the authoritative UnityEngine.PhysicsCore2DModule documentation.