Builtin Library
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 })