ワンクリックで
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 職業分類に基づく
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
| 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 |