apply-conventions
Installation
SKILL.md
Engine conventions
Check version-sensitive APIs against installed playcanvas declarations.
Coordinates
- Right-handed, +Y up, metres.
entity.forward, cameras, andlookAtuse -Z. - Directional and spot lights shine along local -Y, straight down by default. Aim them with
setEulerAngles, notlookAt. - glTF models usually face +Z; record per-model yaw with
calibrate-model. - Angle APIs take degrees in XYZ order. Keep pitch, yaw, and roll as app state; never feed
getEulerAngles()back intosetEulerAngles(). Interpolate withmath.lerpAngleorQuat.slerp. - Use world setters on semantic roots and
setLocal*below a parent. Never scale rigid-body roots or skinned bones.