attachAccessoryToModel
attachAccessoryToModel(
characterRoot,attachment,accessoryObject):AccessoryAttachmentResult
Defined in: packages/declarative-hex-worlds/src/three/accessories.ts:31
Attach accessoryObject to the attachment.node bone/node of characterRoot, applying
the accessory’s local transform. Returns whether the node was found. On a miss the
accessory is left un-parented and attached is false — the caller decides whether a
missing node is fatal (validate at author time via validateAccessoryAttachments).
Parameters
Section titled “Parameters”characterRoot
Section titled “characterRoot”Object3D
attachment
Section titled “attachment”accessoryObject
Section titled “accessoryObject”Object3D