Skip to content

@relu-interactives/spatial-ecs


@relu-interactives/spatial-ecs / index / BoneHoldSystem

Class: BoneHoldSystem ​

Defined in: systems/BoneHoldSystem.ts:15

Applies each BoneAttachmentComponent's holds for the clip its character is playing: which bone it rides, where, and whether it shows. Runs after the animation and before IK, so a hand can reach for something that just moved to a new hold.

Implements ​

Constructors ​

Constructor ​

ts
new BoneHoldSystem(): BoneHoldSystem;

Returns ​

BoneHoldSystem

Methods ​

update() ​

ts
update(world): void;

Defined in: systems/BoneHoldSystem.ts:16

Parameters ​

ParameterType
worldWorld

Returns ​

void

Implementation of ​

EcsSystem.update