threejs-worldgen
    Preparing search index...

    Interface VehicleSpot

    Where a vehicle stands (asset id vehicles/tractor once threejs-vehicles has one).

    interface VehicleSpot {
        asset: string;
        field: number;
        heading: number;
        kind: "tractor";
        position: [number, number, number];
        working: boolean;
    }
    Index
    asset: string

    Asset id to spawn.

    field: number

    Field id it works, or −1 when parked.

    heading: number

    Yaw about up, radians, turning the model's +z (front) to face its heading (props' convention: atan2(dx, dz)).

    kind: "tractor"

    Vehicle kind.

    position: [number, number, number]

    Ground position [x, y, z] (frame-local).

    working: boolean

    Working a field (driving along its rows) rather than parked in the yard.