Taos API Reference
    Preparing search index...

    Interface BoneAttachmentOptions

    Construction options for BoneAttachment.

    interface BoneAttachmentOptions {
        position?: Vec3;
        rotation?: Quaternion;
        inheritScale?: boolean;
    }
    Index

    Properties

    position?: Vec3

    Local position offset applied in the bone's space (e.g. the muzzle tip ahead of the hand bone).

    rotation?: Quaternion

    Local rotation offset applied after the bone's rotation.

    inheritScale?: boolean

    When true (default) the GameObject also takes the bone's scale; set false to keep the attachment at unit scale (usual for a weapon/effect on a model whose root carries an import scale you don't want to inherit).