threejs-worldgen
    Preparing search index...

    Interface VehicleSettings

    Settings of a single Vehicle. Plain JSON.

    interface VehicleSettings {
        crumple: number;
        heading: number;
        launch: boolean;
        lights: number;
        params: VehicleParams;
        period: number;
        seed: string | number;
        speed: number;
        states: MaterialStates & { heat: number };
        tint: string;
        type: VehicleType;
    }
    Index
    crumple: number

    Dent depth at full damage, metres.

    heading: number

    Heading, radians.

    launch: boolean

    Rockets: launch (and relaunch every period seconds) instead of standing on the pad.

    lights: number

    Headlights and lit windows, 0…1.

    Type parameters.

    period: number

    Launch period, seconds.

    seed: string | number

    Seed: drives proportions, style and details.

    speed: number

    Speed its parts animate at (wheels, fans), m/s; it stays in place.

    states: MaterialStates & { heat: number }

    Wetness, snow, burn, damage and heat (on fire).

    tint: string

    Body paint (#rrggbb), or '' for a seeded palette colour.

    Type.