AutoMovie API
    Preparing search index...

    Function collectPhysicalSupports

    • Read touching upward native floor constraints before recent positive surface impulses. Native points retain their actual combined friction; receipt-only compliant contacts use the declared average with the floor's friction 0.7. No projected sole or future contact is invented. A native point counts as loaded only from the impulse the solver applied to it (readPhysicalManifoldImpulses), never from a stale impulse left on a point the solver dropped.

      Parameters

      • input: {
            body: string;
            colliders: ReadonlyMap<
                number,
                { body: string; bone: string; material: string; shape: string },
            >;
            contacts: readonly IAutoMovieContactReceipt[];
            dt: number;
            pattern: IAutoMovieFootfallPattern;
            profile: IAutoMoviePhysicalProfile;
            seconds: number;
            segments: ReadonlyMap<string, RigidBody>;
            world: World;
        }
        • body: string

          Source body identity.

        • colliders: ReadonlyMap<
              number,
              { body: string; bone: string; material: string; shape: string },
          >

          Scene collider ownership.

        • contacts: readonly IAutoMovieContactReceipt[]

          Completed contact samples.

        • dt: number
        • pattern: IAutoMovieFootfallPattern

          Explicit support paths and patch owners.

        • profile: IAutoMoviePhysicalProfile

          Source material and shape ownership.

        • seconds: number

          Current local seconds and native timestep.

        • segments: ReadonlyMap<string, RigidBody>

          Actual segment wrappers.

        • world: World

          Current native world, outside a solver invocation.

      Returns IAutoMovieCollectPhysicalSupports.ISupport[]