drag to orbit · tap the ground to send it
Vehicle · Rolls with distance
Delivery Van
A box delivery van with a sloped cab and a tall cargo box. Wheels spin with distance driven, the two rear doors are hinged parts (door_L, door_R), headlights glow at night. Plain sides, no logos.
- Size
- 2.4 × 3.0 × 5.5 m
- Triangles
- 1,136
- Kit
- City Street
Tune it
4 knobs: Paint, Length, Roof rack, Rear doors.
Specs
- Size
- 2.4 × 3.0 × 5.5 m width × height × depth
- Triangles
- 1,136 of 6,000
- Draw calls
- 1 one vertex-colour material
- Loop clip
- 2.262 m of travel per cycle
- Moving parts
- 6 wheel_0 · spin, wheel_1 · spin, wheel_2 · spin, wheel_3 · spin, door_L · rotate, door_R · rotate
- Knobs
- 4 3 presets
- Night lights
- 2 headlight, taillight
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/delivery-van.mjs';
const deliveryVan = createAsset();
scene.add(deliveryVan); // rests on y = 0, front faces +Z
let dist = 0;
renderer.setAnimationLoop(() => {
dist += speed * clock.getDelta();
deliveryVan.position.z = dist;
deliveryVan.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/delivery-van.mjs';
export function DeliveryVan({ 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 delivery-van.glb (download below). It carries an in-place "Loop" animation.
@onready var anim: AnimationPlayer = $DeliveryVan/AnimationPlayer
func _physics_process(delta):
velocity = transform.basis.z * speed
move_and_slide()
anim.play("Loop")
anim.speed_scale = speed / 2.262 # one Loop = 2.262 m of travel// Import delivery-van.glb with glTFast (com.unity.cloud.gltfast).
animator.Play("Loop");
animator.speed = speed / 2.262 // one Loop = 2.262 m of travelUse the gaitkit MCP server: get_variant({ "id": "delivery-van", "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 | white cherry sky forest charcoal sunflower | white | Body colour: white (parcel courier), cherry (red), sky (blue), forest (green, florist or grocer), charcoal, sunflower (yellow, moving truck). |
length | choice | short long | short | short (5.2 m city courier van), long (6.4 m box truck for furniture and moves). |
roofRack | toggle | on / off | false | Rails and cross bars on the cargo box roof with a ladder strapped on. |
doors | range | 0 to 1, step 0.05 | 0 | How far the two rear cargo doors are open. 0 closed, 1 swung flat open (180 degrees). |
Presets: parcel van {"paint":"white"} · moving truck {"paint":"sunflower","length":"long","roofRack":true} · unloading {"paint":"forest","doors":0.55}
Files
| File | What |
|---|---|
| delivery-van.glb | GLB, default look · 166 KB |
| delivery-van.mjs | ES module, every knob live |
| delivery-van.obj | OBJ, static, no colour |
| delivery-van-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.