Unity 2D Physics
/create-2d-physics
Creates and fixes Unity 2D physics in both systems, 2D Physics Core and the legacy Rigidbody 2D system, for any 2D physics question even if neither is named.
- GitHub 星数
- 1,118 (所在仓库星数,统计于 2026-10-21)
- 许可证
- Unity Companion License
- 最近提交
- 2026/10/20
- 作者
- Unity Technologies
所属合集
Unity Skills (official)
Unity's own collection of skills for AI coding agents: prompts, slash commands and tools built for Unity workflows.
信息来自作者的 README。 GameSkill 还没完整跑过。支持的 Agent 和安装步骤以作者文档为准。
安装
npx skills add Unity-Technologies/skills --skill create-2d-physicsInstalls only this skill. Add -a claude-code (puts it in .claude/skills/), -a codex or -a cursor (.agents/skills/) to choose the agent, and -g to install it for your user instead of the project.
命令照搬项目 README。在本机运行前,请先看一眼仓库。
为指定 Agent 安装
| Agent | -a | 文件夹 |
|---|---|---|
| Claude Code | claude-code | .claude/skills/ |
| Codex | codex | .agents/skills/ |
| Cursor | cursor | .agents/skills/ |
| Gemini CLI | gemini-cli | .agents/skills/ |
| GitHub Copilot | github-copilot | .agents/skills/ |
| OpenCode | opencode | .agents/skills/ |
| Windsurf | windsurf | .windsurf/skills/ |
在命令后加 -a <参数>。以上是项目级文件夹;加 -g 则安装到你的用户目录。
包含内容
- Bundled 1 supporting file and 2 reference docs the agent reads when needed
适合
- Any Unity 2D physics question, in 2D Physics Core or the legacy Rigidbody 2D system
不适合
- 3D physics
试试这条提示词
My 2D character falls through moving platforms. Fix the 2D physics.关于这个 Skill
Creates and fixes Unity 2D physics in both systems, 2D Physics Core and the legacy Rigidbody 2D system, for any 2D physics question even if neither is named. Not for 3D physics.
From the create-2d-physics SKILL.md in Unity-Technologies/skills.
What's inside
- Which physics system
- System reference
- Worked examples
Good to know
Maintained and published by Unity. Many skills drive the open Unity Editor through the Unity CLI instead of editing scene files by hand.
环境要求
- A Unity project
- Unity CLI (recommended: many skills drive the open Editor through it)
常见问题
Unity Skills (official) 中的更多 Skills
查看全部 20 个New Unity Project
Guides creating a new Unity project, gathering concept, platforms, and monetization before setting up the project, source control, and packages.
Unity 2D Pixel Perfect
Sets up, diagnoses, and fixes pixel perfect 2D rendering with PixelPerfectCamera in URP or Built-in.
Unity 3D Collision Debugging
Diagnoses 3D PhysX collision and trigger problems.
Unity AI Navigation
Sets up and configures Unity AI Navigation, including NavMesh surfaces, agents, obstacles, and links.
相似 skills
Claude Code Game Studios
Turns Claude Code into a full game studio: 49 agents and 72 workflow skills arranged like a real studio hierarchy.
MCP for Unity (CoplayDev)
A bridge between AI assistants and the Unity Editor: manage assets, control scenes, edit scripts and automate tasks.
AI Game Developer (Unity-MCP)
AI skills, MCP tools and a CLI for Unity: a full develop-and-test loop, with any C# method exposable as a tool.
Awesome Gamedev Agent Skills
74 portable SKILL.md skills for Godot, Unity, Unreal, Phaser, PixiJS, three.js, Bevy, pygame, LÖVE and Roblox, with a router.