drag to orbit · tap the ground to send it
Vehicle · Rolls with distance
Hay Cart
A two-wheeled wooden farm cart with slatted sides and forward shafts, loaded with a heap of hay, a stack of barrels or nothing. Both spoked wheels are spin parts that roll with distance travelled along +Z.
- Size
- 1.9 × 2.9 × 4.1 m
- Triangles
- 1,576
Tune it
3 knobs: Load, Wood, Seed.
Specs
- Size
- 1.9 × 2.9 × 4.1 m width × height × depth
- Triangles
- 1,576 of 6,000
- Draw calls
- 1 one vertex-colour material
- Loop clip
- 3.644 m of travel per cycle
- Moving parts
- 2 wheel_0 · spin, wheel_1 · spin
- Knobs
- 3 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/hay-cart.mjs';
const hayCart = createAsset();
scene.add(hayCart); // rests on y = 0, front faces +Z
let dist = 0;
renderer.setAnimationLoop(() => {
dist += speed * clock.getDelta();
hayCart.position.z = dist;
hayCart.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/hay-cart.mjs';
export function HayCart({ 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 hay-cart.glb (download below). It carries an in-place "Loop" animation.
@onready var anim: AnimationPlayer = $HayCart/AnimationPlayer
func _physics_process(delta):
velocity = transform.basis.z * speed
move_and_slide()
anim.play("Loop")
anim.speed_scale = speed / 3.644 # one Loop = 3.644 m of travel// Import hay-cart.glb with glTFast (com.unity.cloud.gltfast).
animator.Play("Loop");
animator.speed = speed / 3.644 // one Loop = 3.644 m of travelUse the gaitkit MCP server: get_variant({ "id": "hay-cart", "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 |
|---|---|---|---|---|
load | choice | hay barrels empty | hay | What the cart carries: hay (a heaped straw load with a pitchfork), barrels (four barrels stacked in the bed) or empty. |
wood | choice | oak pine weathered dark | oak | Timber tone: oak (warm brown), pine (light), weathered (silver-grey), dark (old stained wood). |
seed | range | 1 to 50, step 1 | 5 | Reshapes the hay heap and nudges the barrels. Same seed always builds the same cart. |
Presets: harvest {"load":"hay","wood":"pine","seed":12} · brewer {"load":"barrels","wood":"dark"} · empty cart {"load":"empty","wood":"weathered"}
Files
| File | What |
|---|---|
| hay-cart.glb | GLB, default look · 211 KB |
| hay-cart.mjs | ES module, every knob live |
| hay-cart.obj | OBJ, static, no colour |
| hay-cart-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.