AutoMovie API
    Preparing search index...

    Type Alias IAutoMoviePerformanceMode

    IAutoMoviePerformanceMode:
        | { kind: "kinematic" }
        | { kind: "simulated" }
        | {
            compliance: number;
            gravity: number;
            impulse: number;
            kind: "exaggerated";
            reason: string;
        }

    A scene's physical performance policy or an explicit body override.

    resolvePhysicalPerformanceMode selects the body override when present, otherwise the scene policy, and returns an owned copy. It rejects unknown modes and exaggerated factors outside their finite ranges or a blank reason. Kinematic mode uses authored motion and geometric receipts; simulated modes use bounded tracking and solver contacts. Multipliers are dimensionless.

    Type Declaration

    • { kind: "kinematic" }
      • kind: "kinematic"

        Authored motion and geometric receipts, with no solver.

    • { kind: "simulated" }
      • kind: "simulated"

        Bounded tracking and solver contacts.

    • {
          compliance: number;
          gravity: number;
          impulse: number;
          kind: "exaggerated";
          reason: string;
      }
      • compliance: number

        Positive multiplier on contact compliance.

      • gravity: number

        Nonnegative multiplier on gravity.

      • impulse: number

        Positive multiplier on incoming impulses.

      • kind: "exaggerated"

        Solver behavior with reviewed departures.

      • reason: string

        Screenplay/settings reason for the departure.