AutoMovie API
    Preparing search index...

    One contact of a borne body on its bearer.

    interface IContact {
        at?: IAutoMovieVector3;
        kind: "bear" | "grip";
        load: number;
        on: { region: AutoMovieHumanoidRegion; role: string };
        part:
            | "leftUpperArm"
            | "leftLowerArm"
            | "leftHand"
            | "rightUpperArm"
            | "rightLowerArm"
            | "rightHand"
            | "leftUpperLeg"
            | "leftLowerLeg"
            | "leftFoot"
            | "rightUpperLeg"
            | "rightLowerLeg"
            | "rightFoot"
            | "seat"
            | "back";
        region: AutoMovieHumanoidRegion;
    }
    Index

    Where it bears at the key, metres in the frame of the first bearer's anchor bone (IAutoMovieMotionCoupling.anchor): the point its share of the weight presses the bearer at.

    kind: "bear" | "grip"

    How it bears: on the bearer (bear), or a hold of the borne hand (grip).

    load: number

    The share of the borne weight it carries, in [0, 1]; a grip carries none.

    on: { region: AutoMovieHumanoidRegion; role: string }

    The bearer's role and region it lies on.

    Type Declaration

    • region: AutoMovieHumanoidRegion

      Body region of that bearer on which the carried body bears.

    • role: string

      Name of the bearer role supplying this contact surface.

    part:
        | "leftUpperArm"
        | "leftLowerArm"
        | "leftHand"
        | "rightUpperArm"
        | "rightLowerArm"
        | "rightHand"
        | "leftUpperLeg"
        | "leftLowerLeg"
        | "leftFoot"
        | "rightUpperLeg"
        | "rightLowerLeg"
        | "rightFoot"
        | "seat"
        | "back"

    The borne body's part.

    The borne body's region that touches.