AutoMovie API
    Preparing search index...

    Interface IAutoMoviePhysicalSegment

    One massive rigid segment and its attached collision geometry.

    The neutral transform places its bone origin in the body frame. Principal moments about the bone-local centre of mass use kg m²; inertiaRotation places their axes in the bone frame. validatePhysicalProfile requires positive mass and moments, triangle inequalities and at least one admitted shape. Equipment is already included in all segment totals.

    interface IAutoMoviePhysicalSegment {
        bone: string;
        centerOfMass: IAutoMovieVector3;
        inertia: IAutoMovieVector3;
        inertiaRotation: IAutoMovieQuaternion;
        mass: number;
        neutral: IAutoMovieRigidTransform;
        shapes: IAutoMoviePhysicalShape[];
    }
    Index
    bone: string

    Arbitrary skeleton bone id, not a humanoid vocabulary.

    centerOfMass: IAutoMovieVector3

    Bone-local metre centre, including equipment.

    Principal moments, kg m², about centerOfMass.

    inertiaRotation: IAutoMovieQuaternion

    Principal-inertia axes in the bone-local frame.

    mass: number

    Kilograms including all attached equipment.

    Neutral bone origin in the body frame.

    At least one finite solid collider, including optional equipment shapes.