Sports Car
A low 4.4 m wedge-nosed sports car with flared hips, a fastback with inset glass, slim lamps on the nose, side intakes, a diffuser with quad exhausts and multi-spoke wheels, as a coupe or an open convertible with two bucket seats and roll hoops. Wheels spin with distance driven, the long doors swing (door_L, door_R), slim head and tail lights glow at night.
- Size
- 2.3 × 1.2 × 4.5 m
- Triangles
- 2,716
Tune it
4 knobs: Paint, Roof, Rear wing, Stripes.
Specs
- Size
- 2.3 × 1.2 × 4.5 m width × height × depth
- Triangles
- 2,716 of 6,000
- Draw calls
- 1 one vertex-colour material
- Loop clip
- 2.136 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/sports-car.mjs';
const sportsCar = createAsset();
scene.add(sportsCar); // rests on y = 0, front faces +Z
let dist = 0;
renderer.setAnimationLoop(() => {
dist += speed * clock.getDelta();
sportsCar.position.z = dist;
sportsCar.userData.tick(dist); // wheels roll exactly with the distance
renderer.render(scene, camera);
});import { useGLTF, useAnimations } from '@react-three/drei';
import { useEffect } from 'react';
// sports-car.glb from the Download button (it carries the knobs you set), saved in /public
export function SportsCar({ speed = 1 }) {
const { scene, animations } = useGLTF('/sports-car.glb');
const { actions } = useAnimations(animations, scene);
useEffect(() => {
const clip = actions['Loop'];
clip?.play();
if (clip) clip.timeScale = speed / 2.136; // one Loop = 2.136 m of travel
}, [actions, speed]);
return <primitive object={scene} />;
}
// Live knobs or terrain-following feet: copy sports-car.mjs and runtime/ into your project and use the three.js tab.# Import sports-car.glb (download below). It carries an in-place "Loop" animation.
@onready var anim: AnimationPlayer = $SportsCar/AnimationPlayer
func _physics_process(delta):
velocity = transform.basis.z * speed
move_and_slide()
anim.play("Loop")
anim.speed_scale = speed / 2.136 # one Loop = 2.136 m of travel// Import sports-car.glb with glTFast (com.unity.cloud.gltfast).
animator.Play("Loop");
animator.speed = speed / 2.136 // one Loop = 2.136 m of travelUse the gaitkit MCP server: get_variant({ "id": "sports-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 | rosso sunburst electric lime ivory onyx | rosso | Body colour: rosso (racing red), sunburst (orange), electric (bright blue), lime (green), ivory (white), onyx (black). |
roof | choice | coupe convertible | coupe | coupe (fixed fastback roof) or convertible (open top with two seats and a low windscreen). |
wing | toggle | on / off | false | A tall rear wing on two struts plus a deeper front splitter, track-day style. |
stripes | toggle | on / off | false | Twin racing stripes down the nose, roof and tail in a contrasting colour. |
Presets: track day {"paint":"sunburst","wing":true,"stripes":true} · coastal cruiser {"paint":"ivory","roof":"convertible"} · night run {"paint":"onyx","stripes":true}
Files
| File | What |
|---|---|
| sports-car.glb Pro | GLB, default look · 328 KB |
| sports-car.mjs Pro | ES module, every knob live |
| sports-car.obj Pro | OBJ, static; colours in the .mtl |
| sports-car.mtl | OBJ colours; keep it next to the .obj |
| sports-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.