Skip to content

Skeleton

Updated

Lets scripts read and pose this model’s bones, with optional humanoid bone mapping and limb chains. Shows the skeleton while the entity is selected.

Type
comp-skeleton
Script class
SkeletonComponent
Per entity
One
Version
1.1.0

Read about it in Skeleton and morphs: what it does, how to use it from a script, and examples.

Run it in the browser, read its scripts, and download it as an XR Creator project.

#pragma lifecycle(startup)
function startup() {
const component = self.parent.getComponent(SkeletonComponent);
if (component) log(component.props);
}