一键导入
games-physics
Physics & collision — AABB, spatial hash, raycast, response. Tối ưu cho hàng ngàn object, không overshoot.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Physics & collision — AABB, spatial hash, raycast, response. Tối ưu cho hàng ngàn object, không overshoot.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | games-physics |
| description | Physics & collision — AABB, spatial hash, raycast, response. Tối ưu cho hàng ngàn object, không overshoot. |
aabbOverlap cho kiểm tra nhanh, sweptAABB chống xuyên object khi di chuyển nhanh.
Xem: templates/aabb-collision.ts
Chia grid, chỉ kiểm tra object trong cell liền kề. Insert bằng AABB, query trả về Set.
Xem: templates/spatial-hash.ts
Duyệt objects, tìm giao điểm sớm nhất với AABB dùng ray vs box test.
Xem: templates/raycast.ts
Phân giải x và y riêng theo overlap nhỏ nhất, zero vận tốc khi chạm.
Xem: templates/collision-response.ts
| Excuse | Reality |
|---|---|
| "AABB đơn giản là đủ, không cần swept" | Bullet bay nhanh xuyên object |
| "Spatial hash cho game nhỏ tốn thời gian" | 100 object mỗi frame check nhau = 4950 phép tính |
| "Raycast không cần" | Không aim, không bắn, không phát hiện va chạm xa |
Expert in building 3D experiences for the web - Three.js, React Three Fiber, Spline, WebGL, and interactive 3D scenes. Covers product configurators, 3D portfolios, immersive websites, and bringing depth to web experiences. Use when: 3D website, three.js, WebGL, react three fiber, 3D experience.
Game art principles — art style, color theory, animation principles, asset pipeline
Game design principles — core loop, GDD, player psychology, difficulty balancing, progression
Orchestrator game — route to implementation skill (pxhopencode) + principle-based sub-skill (agent-skills-hub)
Mobile game principles — touch input, battery, thermal, app stores, monetization
Multiplayer game principles — networking architecture, synchronization, security, matchmaking