JME - Application Documentation
    Preparing search index...

    Physical / kinematic properties for a vehicle body type

    type CarClass = {
        accelFactor: number;
        bodyType: string;
        decelFactor: number;
        length: number;
        speedFactor: number;
        weight: number;
    }
    Index

    Properties

    accelFactor: number

    Max acceleration multiplier relative to SimConfig.maxAccel

    bodyType: string

    Human-readable body type name (matches model filename prefix)

    decelFactor: number

    Max deceleration multiplier relative to SimConfig.maxDecel

    length: number

    Typical vehicle length in world units

    speedFactor: number

    Max speed multiplier relative to SimConfig.maxSpeed (1.0 = 100%)

    weight: number

    Spawn‐weight (higher = more common). Weights are normalised at runtime.