AutoMovie API
    Preparing search index...

    Interface IAutoMoviePhysicalProfile

    A solver-neutral articulated body in SI units, with +Y up.

    Segment neutral transforms place bone origins in the body frame; inertia and colliders use bone-local frames. Equipment contributes shapes and mass to a segment. validatePhysicalProfile checks finite native-representable physical quantities, unit rotations, positive principal moments satisfying the triangle inequalities, total mass/centre consistency, known materials and a connected acyclic joint tree. It returns diagnostic paths without repairing the input. Providers own the mutable data and its provenance; simulation admission consumes the same description for every body.

    interface IAutoMoviePhysicalProfile {
        centerOfMass: IAutoMovieVector3;
        collisionExclusions?: { a: string; b: string; reason: string }[];
        id: string;
        joints: IAutoMoviePhysicalJoint[];
        mass: number;
        materials: IAutoMoviePhysicalMaterial[];
        provenance: string;
        segments: IAutoMoviePhysicalSegment[];
    }
    Index
    centerOfMass: IAutoMovieVector3

    Neutral body-frame centre, metres; checked against the segment sum.

    collisionExclusions?: { a: string; b: string; reason: string }[]

    Explicit overlapping pivot neighbours; other self collisions remain enabled.

    Type Declaration

    • a: string

      First segment.

    • b: string

      Second segment.

    • reason: string

      Geometric reason for this exclusion.

    id: string

    Stable provider/content identity, never used to select physical behavior.

    Exactly one parent for every nonroot segment.

    mass: number

    Total kilograms, including equipment; must equal segment masses.

    Contact parameters addressed by shapes, independently of optical materials.

    provenance: string

    Provider's source, population limits and approximation uncertainty.

    Nonempty unique bones, in any order; joints define a connected tree.