Fire Truck
A 10 m aerial ladder fire truck with a crew cab, equipment lockers and a rear turntable. The turntable turns about y (turntable), the ladder lifts about x (ladder) and its fly section slides out along it (ladder_fly); wheels roll with distance. Headlights, tail lights and the roof beacons glow at night. No crests, numbers or text.
- Size
- 3.2 × 3.9 × 10.7 m
- Triangles
- 2,476
Tune it
5 knobs: Paint, Ladder raise, Ladder extend, Turntable, Beacons.
Specs
- Size
- 3.2 × 3.9 × 10.7 m width × height × depth
- Triangles
- 2,476 of 6,000
- Draw calls
- 1 one vertex-colour material
- Loop clip
- 3.267 m of travel per cycle
- Moving parts
- 9 wheel_0 · spin, wheel_1 · spin, wheel_2 · spin, wheel_3 · spin, wheel_4 · spin, wheel_5 · spin, turntable · spin, ladder · rotate, ladder_fly · slide
- Knobs
- 5 3 presets
- Night lights
- 4 headlight, taillight, beacon, locker_light
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/fire-truck.mjs';
const fireTruck = createAsset();
scene.add(fireTruck); // rests on y = 0, front faces +Z
let dist = 0;
renderer.setAnimationLoop(() => {
dist += speed * clock.getDelta();
fireTruck.position.z = dist;
fireTruck.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/fire-truck.mjs';
export function FireTruck({ 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 fire-truck.glb (download below). It carries an in-place "Loop" animation.
@onready var anim: AnimationPlayer = $FireTruck/AnimationPlayer
func _physics_process(delta):
velocity = transform.basis.z * speed
move_and_slide()
anim.play("Loop")
anim.speed_scale = speed / 3.267 # one Loop = 3.267 m of travel// Import fire-truck.glb with glTFast (com.unity.cloud.gltfast).
animator.Play("Loop");
animator.speed = speed / 3.267 // one Loop = 3.267 m of travelUse the gaitkit MCP server: get_variant({ "id": "fire-truck", "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 |
|---|---|---|---|---|
paint | choice | red crimson lime yellow white | red | Body colour: red (classic), crimson (dark red), lime (high-visibility yellow-green), yellow (airport or industrial), white (with a red stripe). |
raise | range | 0 to 1, step 0.05 | 0 | Ladder elevation: 0 lies flat over the cab for driving, 1 is raised to 72 degrees. |
extend | range | 0 to 1, step 0.05 | 0 | How far the fly section slides out: 0 nested, 1 fully out (about 15 m of ladder). |
turn | range | -180 to 180, step 5 | 0 | Turntable angle in degrees; 0 points the ladder forward over the cab, 90 to the left side, 180 straight back. |
beacons | toggle | on / off | true | Light bar on the cab roof and warning lights on the rear corners. |
Presets: on the road {"raise":0,"extend":0} · rescue at height {"raise":0.85,"extend":1,"turn":60} · airport crash tender {"paint":"lime","raise":0.4,"extend":0.3}
Files
| File | What |
|---|---|
| fire-truck.glb | GLB, default look · 377 KB |
| fire-truck.mjs | ES module, every knob live |
| fire-truck.obj | OBJ, static, no colour |
| fire-truck-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.