Ice Cream Van
A 5.6 m pastel ice cream van with a sloped cab, a serving window on the curb side and a big cone-and-scoops sign on the roof. The striped awning flap lifts on its top hinge (hatch, rotate z) to open the window over the counter; wheels roll with distance. Headlights, tail lights, the serving window and the roof cone glow at night. No lettering or logos.
- Size
- 2.6 × 4.5 × 5.8 m
- Triangles
- 1,808
Tune it
4 knobs: Paint, Roof cone, Serving hatch, Cone sign.
Specs
- Size
- 2.6 × 4.5 × 5.8 m width × height × depth
- Triangles
- 1,808 of 6,000
- Draw calls
- 1 one vertex-colour material
- Loop clip
- 2.262 m of travel per cycle
- Moving parts
- 5 wheel_0 · spin, wheel_1 · spin, wheel_2 · spin, wheel_3 · spin, hatch · rotate
- Knobs
- 4 3 presets
- Night lights
- 4 headlight, taillight, serving, sign
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/ice-cream-van.mjs';
const iceCreamVan = createAsset();
scene.add(iceCreamVan); // rests on y = 0, front faces +Z
let dist = 0;
renderer.setAnimationLoop(() => {
dist += speed * clock.getDelta();
iceCreamVan.position.z = dist;
iceCreamVan.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/ice-cream-van.mjs';
export function IceCreamVan({ 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 ice-cream-van.glb (download below). It carries an in-place "Loop" animation.
@onready var anim: AnimationPlayer = $IceCreamVan/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 ice-cream-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": "ice-cream-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 | mint pink lemon sky cream | mint | Pastel body colour: mint, pink, lemon, sky or cream. The lower skirt and awning stripes use a deeper shade of it with white. |
flavour | choice | strawberry mint chocolate vanilla blue raspberry | strawberry | Flavour of the two scoops on the roof sign: strawberry, mint, chocolate, vanilla or blue raspberry. |
hatch | range | 0 to 1, step 0.05 | 0 | The awning flap over the serving window: 0 closed for driving, 1 lifted 95 degrees into a sunshade over the counter. |
cone | toggle | on / off | true | The giant waffle cone with two scoops on the roof. Off leaves a plain roof with a small vent. |
Presets: open for business {"hatch":1} · chocolate pink {"paint":"pink","flavour":"chocolate","hatch":0.8} · seaside lemon {"paint":"lemon","flavour":"blue raspberry"}
Files
| File | What |
|---|---|
| ice-cream-van.glb | GLB, default look · 240 KB |
| ice-cream-van.mjs | ES module, every knob live |
| ice-cream-van.obj | OBJ, static, no colour |
| ice-cream-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.