本文へ移動
cccskills
無料GitHub で公開

assemble-scene

Use when composing PlayCanvas entity hierarchies from models, colliders, rigid bodies, and scripts, so each object has one semantic root and clear lifecycle.

インストール方法を見る

含まれるファイル(4)

  • SKILL.md1.5 KB
  • references/direct-engine.md439 B
  • references/react.md1023 B
  • references/web-components.md892 B

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Scene assembly

Each scene object has one named root. Put position, heading, rigidbody, collision, and scripts on the root, and the calibrated visual from calibrate-model below it. Apply calibration once; if the tuning record is missing, calibrate first.

  • Name roots by role, with predictable names for repeated instances.
  • Size colliders from measured bounds and keep them aligned with render bounds.
  • Space roots by the scaled footprint in the tuning record, not by pivot position. A non-90° yaw rotates the footprint, so reserve its larger horizontal extent.
  • Keep UI, effects, cameras, and lights outside model hierarchies.
  • Remove the root through its surface's lifecycle and unregister events it owns.
  • Rigid bodies need Ammo loaded first (build-app).

Check placement

After a rendered frame, measure each support or attachment at the object's actual position, using a mount point, raycast, or geometry sample read through inspect-runtime. A positive gap floats; a negative gap penetrates. Overlapping world AABBs between unrelated roots are a failure unless two different views prove the overlap is empty space.

Read only the reference matching the code: direct Engine, React, or Web Components.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Use when adding visual effects to a PlayCanvas app, to choose between particle systems, shader chunks, runtime meshes, and post-processing.

日本語の概要は準備中です。原文の説明を表示しています。

playcanvas/skills252026年10月12日 更新

Use when writing PlayCanvas Engine code touching transforms, cameras, lights, materials, meshes, bounds, or imports, to apply Engine conventions and avoid legacy APIs.

日本語の概要は準備中です。原文の説明を表示しています。

playcanvas/skills252026年10月12日 更新

Use when static PlayCanvas lighting, shadows, or ambient occlusion cost too much per frame and should be baked into lightmaps.

日本語の概要は準備中です。原文の説明を表示しています。

playcanvas/skills252026年10月12日 更新

build-app

無料

Use when creating or restructuring a PlayCanvas app with the Engine API, @playcanvas/react, or @playcanvas/web-components, covering bootstrap, input, resize, physics, update loop, UI, and lifecycle.

日本語の概要は準備中です。原文の説明を表示しています。

playcanvas/skills252026年10月12日 更新

Use before repeatedly placing GLB models in PlayCanvas to record each asset's uniform scale, grounding offset, pivot compensation, and yaw once.

日本語の概要は準備中です。原文の説明を表示しています。

playcanvas/skills252026年10月12日 更新

Use before playing, blending, or retargeting GLB animation clips in PlayCanvas, or when diagnosing T-pose, frozen playback, or binding failures.

日本語の概要は準備中です。原文の説明を表示しています。

playcanvas/skills252026年10月12日 更新

playcanvas のスキルをすべて見る

このスキルの問題を報告する