AutoMovie API
    Preparing search index...

    Interface IAutoMoviePhysicalContactBinding

    A collider relationship fitted as articulated motor intent.

    admitPhysicalContactBindings resolves both colliders, checks a contiguous actuator chain, finite weights and compression, and a nonzero receiver normal when supplied. It rejects duplicate relationship identities and incompatible same-bone contacts. Contact compression is bounded by both materials' soft-layer allowance; separation requires zero. Simultaneous fitting retains residual error when geometry or actuator limits prevent satisfying the request.

    interface IAutoMoviePhysicalContactBinding {
        chain: string[];
        compression: number;
        id: string;
        iterations: number;
        kind: "separate" | "contact";
        source: { bone: string; shape: string };
        target: {
            body: string;
            bone: string;
            normal?: IAutoMovieVector3;
            shape: string;
        };
        tolerance: number;
        weight: number;
    }
    Index
    chain: string[]

    Proximal-to-distal actuator chain ending at the source bone.

    compression: number

    Intended soft-layer penetration, metres, bounded by both materials' total compression allowance. Separate requires zero.

    id: string

    Stable authoring relationship identity within this target.

    iterations: number

    Positive bounded updates in the simultaneous geometric solve, at most 32.

    kind: "separate" | "contact"

    Contact approaches a surface; separate only removes penetrating intent.

    source: { bone: string; shape: string }

    Source collider on this body.

    Type Declaration

    • bone: string

      Segment bone owning the source collider.

    • shape: string

      Collider identity within that segment.

    target: {
        body: string;
        bone: string;
        normal?: IAutoMovieVector3;
        shape: string;
    }

    Receiver collider, read in its actual current world placement.

    Type Declaration

    • body: string

      Existing body identity in the simultaneous simulation input.

    • bone: string

      Segment bone owning the receiver collider.

    • Optionalnormal?: IAutoMovieVector3

      Optional nonzero bone-local outward direction selecting a receiver surface; absent leaves the surface unconstrained. Allowed only for contact.

    • shape: string

      Collider identity within the receiver segment.

    tolerance: number

    Positive metre residual early-out; unreachable requests remain residuals.

    weight: number

    Blend of the authored path toward this relationship, in [0,1].