Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commit8d45df8664

README.md

ecs.Skeleton

Spec for the Skeleton component, which maps to the native Skeleton. Binds an entity hierarchy as a skeleton for skinned animation.

Fields

  • rootEntityId — the root bone entity (the authored field).
  • rootBoneIndex, rootBoneReferenceY — engine-managed root-bone hints.
  • cachedTransforms — engine-managed cached bone transforms.

Usage

ecs.insertSync(id, ecs.Skeleton{ rootEntityId = rootBone })