drag to orbit · tap the ground to send it
Vehicle · Rolls with distance
Taxi Cab
A 4.8 m four-door sedan taxi with a blank roof sign (no text), optional checker band along the sides. Wheels spin with distance driven, front doors swing (door_L, door_R); the roof sign, head and tail lights glow at night.
- Size
- 2.1 × 1.7 × 5.0 m
- Triangles
- 1,812
Tune it
4 knobs: Paint, Roof sign, For hire, Checker band.
Specs
- Size
- 2.1 × 1.7 × 5.0 m width × height × depth
- Triangles
- 1,812 of 6,000
- Draw calls
- 1 one vertex-colour material
- Loop clip
- 2.011 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
- 3 headlight, taillight, roof_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/taxi-cab.mjs';
const taxiCab = createAsset();
scene.add(taxiCab); // rests on y = 0, front faces +Z
let dist = 0;
renderer.setAnimationLoop(() => {
dist += speed * clock.getDelta();
taxiCab.position.z = dist;
taxiCab.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/taxi-cab.mjs';
export function TaxiCab({ 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 taxi-cab.glb (download below). It carries an in-place "Loop" animation.
@onready var anim: AnimationPlayer = $TaxiCab/AnimationPlayer
func _physics_process(delta):
velocity = transform.basis.z * speed
move_and_slide()
anim.play("Loop")
anim.speed_scale = speed / 2.011 # one Loop = 2.011 m of travel// Import taxi-cab.glb with glTFast (com.unity.cloud.gltfast).
animator.Play("Loop");
animator.speed = speed / 2.011 // one Loop = 2.011 m of travelUse the gaitkit MCP server: get_variant({ "id": "taxi-cab", "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 | yellow lime white black orange | yellow | Body colour: yellow (classic city cab), lime (green eco cab), white, black (executive cab), orange. |
sign | choice | bar tall | bar | Shape of the blank roof light: bar (long low box across the roof) or tall (upright wedge sign). |
available | toggle | on / off | true | Roof sign lit (cab is free, glows at night) or unlit grey (cab is taken). |
checker | toggle | on / off | true | A two-row black-and-white checker band along both sides. |
Presets: classic cab {"paint":"yellow","checker":true} · executive car {"paint":"black","checker":false,"sign":"tall"} · off duty {"available":false}
Files
| File | What |
|---|---|
| taxi-cab.glb | GLB, default look · 271 KB |
| taxi-cab.mjs | ES module, every knob live |
| taxi-cab.obj | OBJ, static, no colour |
| taxi-cab-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.