Covered Wagon
A pioneer covered wagon: painted wooden box bed, white canvas cover on hooped bows with gathered ends, a driver bench, tongue and crossbar for a team, a water barrel and a hanging bucket. Big rear wheels and small front wheels are spin parts that roll with distance along +Z.
- Size
- 2.0 × 3.2 × 5.3 m
- Triangles
- 2,428
- Kit
- Wild West
Tune it
4 knobs: Paint, Canvas, Cover, Barrel.
Specs
- Size
- 2.0 × 3.2 × 5.3 m width × height × depth
- Triangles
- 2,428 of 6,000
- Draw calls
- 1 one vertex-colour material
- Loop clip
- 9.425 m of travel per cycle
- Moving parts
- 4 wheel_0 · spin, wheel_1 · spin, wheel_2 · spin, wheel_3 · spin
- Knobs
- 4 3 presets
- Night lights
- 0 none
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/covered-wagon.mjs';
const coveredWagon = createAsset();
scene.add(coveredWagon); // rests on y = 0, front faces +Z
let dist = 0;
renderer.setAnimationLoop(() => {
dist += speed * clock.getDelta();
coveredWagon.position.z = dist;
coveredWagon.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/covered-wagon.mjs';
export function CoveredWagon({ 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 covered-wagon.glb (download below). It carries an in-place "Loop" animation.
@onready var anim: AnimationPlayer = $CoveredWagon/AnimationPlayer
func _physics_process(delta):
velocity = transform.basis.z * speed
move_and_slide()
anim.play("Loop")
anim.speed_scale = speed / 9.425 # one Loop = 9.425 m of travel// Import covered-wagon.glb with glTFast (com.unity.cloud.gltfast).
animator.Play("Loop");
animator.speed = speed / 9.425 // one Loop = 9.425 m of travelUse the gaitkit MCP server: get_variant({ "id": "covered-wagon", "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 | prairie blue barn red green natural | prairie blue | Bed and wheel colours: prairie blue (blue bed, red wheels, the classic), barn red (red bed, ochre wheels), green, natural (bare oiled wood). |
canvas | color | any colour | #e8dfc8 | Colour of the cover. #e8dfc8 is new cotton duck, #cbbf9e dusty and trail-worn, #a8a08a grey, #c9b48a tan. |
cover | toggle | on / off | true | Canvas cover over the bows. Off shows the bare hoops and the load of crates, sacks and a trunk. |
barrel | toggle | on / off | true | Water barrel strapped to the left side and a bucket hanging from the rear axle. |
Presets: settler wagon {"paint":"prairie blue"} · trail worn {"paint":"natural","canvas":"#cbbf9e"} · open freighter {"paint":"barn red","cover":false}
Files
| File | What |
|---|---|
| covered-wagon.glb | GLB, default look · 327 KB |
| covered-wagon.mjs | ES module, every knob live |
| covered-wagon.obj | OBJ, static, no colour |
| covered-wagon-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.