Documentation
    Preparing search index...

    Interface PhysicsMaterialDocument

    A §25 PhysicsMaterial as JSON; see the module header on identity.

    interface PhysicsMaterialDocument {
        density: number;
        friction: number;
        restitution: number;
        rollingFriction?: number;
        spinningFriction?: number;
    }
    Index
    density: number

    Mass per unit volume (§25).

    friction: number

    Coulomb friction coefficient (§25).

    restitution: number

    Restitution (§25).

    rollingFriction?: number

    Rolling resistance (§25), present only when the material specified one.

    spinningFriction?: number

    Spin resistance (§25), present only when the material specified one.