Cement Mixer Truck
An 8 m (or 9 m four-axle) concrete mixer truck with a tilted, striped drum that turns while it drives (drum, half a turn per wheel turn), a feed hopper and a swinging discharge chute (chute). Wheels roll with distance. Headlights, tail lights and the beacon glow at night. No logos.
- Size
- 3.3 × 3.8 × 8.7 m
- Triangles
- 1,660
Tune it
4 knobs: Cab, Drum, Axles, Chute.
Specs
- Size
- 3.3 × 3.8 × 8.7 m width × height × depth
- Triangles
- 1,660 of 6,000
- Draw calls
- 1 one vertex-colour material
- Loop clip
- 6.535 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, drum · spin, chute · rotate
- Knobs
- 4 3 presets
- Night lights
- 3 headlight, taillight, beacon
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.
import { createAsset } from 'https://gaitkit.com/cdn/cement-mixer.mjs';
const cementMixer = createAsset();
scene.add(cementMixer); // rests on y = 0, front faces +Z
let dist = 0;
renderer.setAnimationLoop(() => {
dist += speed * clock.getDelta();
cementMixer.position.z = dist;
cementMixer.userData.tick(dist); // wheels roll exactly with the distance
renderer.render(scene, camera);
});import { useMemo, useRef } from 'react';
import { useFrame } from '@react-three/fiber';
import { createAsset } from 'https://gaitkit.com/cdn/cement-mixer.mjs';
export function CementMixer({ speed = 1 }) {
const model = useMemo(() => createAsset(), []);
const dist = useRef(0);
useFrame((_, dt) => {
dist.current += speed * dt;
model.position.z = dist.current;
model.userData.tick(dist.current); // wheels roll exactly with the distance
});
return <primitive object={model} />;
}# Import cement-mixer.glb (download below). It carries an in-place "Loop" animation.
@onready var anim: AnimationPlayer = $CementMixer/AnimationPlayer
func _physics_process(delta):
velocity = transform.basis.z * speed
move_and_slide()
anim.play("Loop")
anim.speed_scale = speed / 6.535 # one Loop = 6.535 m of travel// Import cement-mixer.glb with glTFast (com.unity.cloud.gltfast).
animator.Play("Loop");
animator.speed = speed / 6.535 // one Loop = 6.535 m of travelUse the gaitkit MCP server: get_variant({ "id": "cement-mixer", "want": "default look" })
then place the result and drive it with userData.tick(distance).
# MCP endpoint
https://gaitkit.com/mcpKnobs
| Knob | Type | Values | Default | What it does |
|---|---|---|---|---|
cab | choice | white red blue yellow green | white | Cab colour: white, red, blue, yellow or green. |
drum | choice | orange stripe blue stripe red stripe yellow and black plain grey | orange stripe | Drum colours: white with an orange, blue or red spiral stripe, yellow with a black stripe, or plain grey. The stripe makes the turning drum easy to read. |
axles | choice | 3 4 | 3 | 3 (8 m, one steer axle and a rear tandem) or 4 (9 m, twin steer axles for bigger loads). |
chute | range | -90 to 90, step 5 | 0 | Discharge chute angle in degrees at the rear: 0 folded straight back, 90 swung to the left side, -90 to the right side. |
Presets: ready mix {"cab":"white","drum":"orange stripe"} · pouring on site {"cab":"red","drum":"red stripe","chute":60} · four-axle heavy {"axles":"4","cab":"yellow","drum":"yellow and black"}
Files
| File | What |
|---|---|
| cement-mixer.glb | GLB, default look · 231 KB |
| cement-mixer.mjs | ES module, every knob live |
| cement-mixer.obj | OBJ, static, no colour |
| cement-mixer-params.json | knob 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.