Vintage Car
A 4.3 m 1930s motor car: long hood, tall chrome radiator, separate sweeping fenders, running boards and big drum headlamps, as a closed sedan or an open roadster. Wheels spin with distance driven, the rear-hinged doors swing (door_L, door_R); lamps glow at night.
- Size
- 1.7 × 1.8 × 4.3 m
- Triangles
- 2,192
Tune it
4 knobs: Paint, Body, Whitewalls, Spare wheel.
Specs
- Size
- 1.7 × 1.8 × 4.3 m width × height × depth
- Triangles
- 2,192 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/vintage-car.mjs';
const vintageCar = createAsset();
scene.add(vintageCar); // rests on y = 0, front faces +Z
let dist = 0;
renderer.setAnimationLoop(() => {
dist += speed * clock.getDelta();
vintageCar.position.z = dist;
vintageCar.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/vintage-car.mjs';
export function VintageCar({ 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 vintage-car.glb (download below). It carries an in-place "Loop" animation.
@onready var anim: AnimationPlayer = $VintageCar/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 vintage-car.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": "vintage-car", "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 | maroon bottle navy cream black tan | maroon | Body colour (fenders stay black): maroon, bottle (green), navy, cream, black, tan. |
body | choice | sedan roadster | sedan | sedan (closed upright cabin with a flat roof) or roadster (open two-seater with a folded hood behind the seat). |
whitewalls | toggle | on / off | true | White sidewall tyres with cream wheel discs; off gives plain black tyres and black discs. |
spare | choice | rear sides none | rear | Where the spare wheel rides: rear (on the back with a trunk), sides (one sunk into each front fender), none. |
Presets: gangster sedan {"paint":"black","body":"sedan","spare":"sides"} · sunday roadster {"paint":"cream","body":"roadster"} · country doctor {"paint":"bottle","whitewalls":false}
Files
| File | What |
|---|---|
| vintage-car.glb | GLB, default look · 293 KB |
| vintage-car.mjs | ES module, every knob live |
| vintage-car.obj | OBJ, static, no colour |
| vintage-car-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.