一键导入
threejs-collision-patterns
Collision detection patterns for Three.js games without physics engines
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Collision detection patterns for Three.js games without physics engines
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Three.js Polygon Streaming .xrg integration and debugging playbook for @polygon-streaming/web-player-threejs, including correct wrapper events, asset publishing, model fitting, and fallback replacement policy
Bundle entry for the exported VIVERSE PlayCanvas Toolkit workflow pack. Use when you want bundled VIVERSE PlayCanvas Toolkit skills, prompts, catalogs, and helper assets in one standalone package.
Protect third-party API keys by moving secret-bearing calls into VIVERSE Play Lambda scripts and keeping only non-secret user data in VIVERSE Storage.
Build or fix CPU racing drivers for Three.js or VIVERSE racing games. Use for waypoint loops, tile-to-route reconstruction, lap completion, recovery logic, and low-overhead debug workflows.
VIVERSE Login SDK integration for user authentication and SSO
Integrate VIVERSE Token Gateway for AI chat in published apps — auth header construction, non-streaming and SSE streaming patterns, rate-limit handling, and error recovery.
| name | threejs-collision-patterns |
| description | Collision detection patterns for Three.js games without physics engines |
| prerequisites | ["Three.js imported","Game loop with delta time"] |
| tags | ["threejs","collision","physics","game","hitbox"] |
Manual collision detection for Three.js games. No physics engine required — uses simple geometric tests each frame.
Use this when a project needs:
Every collidable game object consists of two parts:
The collision primitive is registered at mesh creation time and tested each frame in the game loop.
When implementing collision in a new game:
PLAYER: { COLLISION_RADIUS: 1.65 }).collidable: false for visual-only decoration meshes.collidable: false.COLLISION_RADIUS or radius propertythis.obstacles array) is populated during level buildcheckCollision() BEFORE position.copy(nextPosition)collidable: false