Gaitkit Open the lab
Garbage Truck, A 9.5 m rear-loader garbage truck with a low-entry cab, a ribbed compactor body and a rear hopper. The tailgate lifts on its top hinge (tailgate) and the bin lifter tips a wheelie bin over the hopper sill (lifter); wheels roll with distance. Headlights, tail lights, amber beacons and the hopper work light glow at night. Plain panels, no logos.
Vehicle · Rolls with distance

Garbage Truck

A 9.5 m rear-loader garbage truck with a low-entry cab, a ribbed compactor body and a rear hopper. The tailgate lifts on its top hinge (tailgate) and the bin lifter tips a wheelie bin over the hopper sill (lifter); wheels roll with distance. Headlights, tail lights, amber beacons and the hopper work light glow at night. Plain panels, no logos.

Size
3.2 × 3.6 × 10.7 m
Triangles
1,676
Open in the lab Loop clip inside. The download carries the knobs you set here.

Tune it

4 knobs: Paint, Tailgate, Bin lifter, Wheelie bin.

Specs

Size
3.2 × 3.6 × 10.7 m
width × height × depth
Triangles
1,676
of 6,000
Draw calls
1
one vertex-colour material
Loop clip
3.142 m
of travel per cycle
Moving parts
8
wheel_0 · spin, wheel_1 · spin, wheel_2 · spin, wheel_3 · spin, wheel_4 · spin, wheel_5 · spin, tailgate · rotate, lifter · rotate
Knobs
4
3 presets
Night lights
4
headlight, taillight, beacon, worklight

Passed the validator: real scale, rests on y = 0, front faces +Z, deterministic.

Use it

Code for the specimen as it is set up above; it follows your knobs.

JavaScript
import { createAsset } from 'https://gaitkit.com/cdn/garbage-truck.mjs';

const garbageTruck = createAsset();
scene.add(garbageTruck);                      // rests on y = 0, front faces +Z

let dist = 0;
renderer.setAnimationLoop(() => {
  dist += speed * clock.getDelta();
  garbageTruck.position.z = dist;
  garbageTruck.userData.tick(dist);            // wheels roll exactly with the distance
  renderer.render(scene, camera);
});

More in the docs; agents can fetch all of this through MCP.

Knobs

KnobTypeValuesDefaultWhat it does
paintchoicewhite green orange blue greywhiteBody colour: white (city fleet), green (recycling), orange (municipal), blue, grey. The cab keeps the same colour with a dark lower band.
tailgaterange0 to 1, step 0.050How far the rear tailgate is lifted on its top hinge: 0 closed, 1 raised 55 degrees to empty the body.
lifterrange0 to 1, step 0.050Bin lifter arm: 0 down with the bin on the ground behind the truck, 1 tipped 135 degrees over the hopper.
bintoggleon / offtrueA green wheelie bin hooked on the lifter. Off leaves the lifter empty.

Presets: on the round {"lifter":0.6} · recycling truck {"paint":"green"} · tipping at the depot {"paint":"orange","tailgate":1,"bin":false}

Files

FileWhat
garbage-truck.glbGLB, default look · 246 KB
garbage-truck.mjsES module, every knob live
garbage-truck.objOBJ, static, no colour
garbage-truck-params.jsonknob schema, presets, night zones

Licence

Use it in games, apps, renders and client work, commercially and without credit. Do not resell it as an asset or train a 3D generator on it. The full licence.