AutoMovie API
    Preparing search index...

    Interface IAutoMovieImpact

    resolveImpact's normal impulse advice: normalized a-to-b direction, nonnegative closing speed, impulse delivered to b, both post-impact velocities and a qualitative outcome. Separating-contact velocity values may be borrowed inputs.

    interface IAutoMovieImpact {
        impulse: IAutoMovieVector3;
        kind: AutoMovieImpactKind;
        normal: IAutoMovieVector3;
        speed: number;
        velocityA: IAutoMovieVector3;
        velocityB: IAutoMovieVector3;
    }
    Index

    World N-second impulse delivered to b; a receives its opposite.

    Deterministic heuristic outcome rather than a full fracture/contact simulation result.

    Normalized world contact direction from a toward b.

    speed: number

    Closing metres/second along the normal, zero for non-approaching bodies.

    Post-impact world metres/second for a; separating-contact output may borrow its input vector.

    Post-impact world metres/second for b; separating-contact output may borrow its input vector.