Pickup Truck
A full-size 5-5.6 m pickup with a tall square nose: chrome-barred grille, square lamps in bezels, chrome bumpers, black arch flares, inset glass, side steps, single or crew cab and an open cargo bed with liner, rails and tie-downs. Wheels spin with distance driven, the tailgate drops down (tailgate) and the front doors swing (door_L, door_R); lights glow at night.
- Size
- 2.4 × 2.0 × 6.0 m
- Triangles
- 3,148
Tune it
4 knobs: Paint, Cab, Bed load, Tailgate.
Specs
- Size
- 2.4 × 2.0 × 6.0 m width × height × depth
- Triangles
- 3,148 of 6,000
- Draw calls
- 1 one vertex-colour material
- Loop clip
- 2.513 m of travel per cycle
- Moving parts
- 7 wheel_0 · spin, wheel_1 · spin, wheel_2 · spin, wheel_3 · spin, tailgate · rotate, 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/pickup-truck.mjs';
const pickupTruck = createAsset();
scene.add(pickupTruck); // rests on y = 0, front faces +Z
let dist = 0;
renderer.setAnimationLoop(() => {
dist += speed * clock.getDelta();
pickupTruck.position.z = dist;
pickupTruck.userData.tick(dist); // wheels roll exactly with the distance
renderer.render(scene, camera);
});import { useGLTF, useAnimations } from '@react-three/drei';
import { useEffect } from 'react';
// pickup-truck.glb from the Download button (it carries the knobs you set), saved in /public
export function PickupTruck({ speed = 1 }) {
const { scene, animations } = useGLTF('/pickup-truck.glb');
const { actions } = useAnimations(animations, scene);
useEffect(() => {
const clip = actions['Loop'];
clip?.play();
if (clip) clip.timeScale = speed / 2.513; // one Loop = 2.513 m of travel
}, [actions, speed]);
return <primitive object={scene} />;
}
// Live knobs or terrain-following feet: copy pickup-truck.mjs and runtime/ into your project and use the three.js tab.# Import pickup-truck.glb (download below). It carries an in-place "Loop" animation.
@onready var anim: AnimationPlayer = $PickupTruck/AnimationPlayer
func _physics_process(delta):
velocity = transform.basis.z * speed
move_and_slide()
anim.play("Loop")
anim.speed_scale = speed / 2.513 # one Loop = 2.513 m of travel// Import pickup-truck.glb with glTFast (com.unity.cloud.gltfast).
animator.Play("Loop");
animator.speed = speed / 2.513 // one Loop = 2.513 m of travelUse the gaitkit MCP server: get_variant({ "id": "pickup-truck", "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 | brick denim olive silver white black | brick | Body colour: brick (red), denim (blue), olive (green), silver, white (fleet), black. |
cab | choice | crew single | crew | crew (four doors, two rows, 5.6 m long) or single (two doors, longer bed, 5.0 m). |
load | choice | empty crates hay cover | empty | What is in the bed: empty, crates (stacked wooden crates), hay (two straw bales), cover (flat hard tonneau cover closing the bed). |
tailgate | range | 0 to 1, step 0.05 | 0 | How far the tailgate is dropped. 0 closed, 1 fully down and level for loading. |
Presets: farm truck {"paint":"olive","cab":"single","load":"hay"} · market day {"paint":"denim","load":"crates","tailgate":1} · fleet work truck {"paint":"white","load":"cover"}
Files
| File | What |
|---|---|
| pickup-truck.glb Pro | GLB, default look · 380 KB |
| pickup-truck.mjs Pro | ES module, every knob live |
| pickup-truck.obj Pro | OBJ, static; colours in the .mtl |
| pickup-truck.mtl | OBJ colours; keep it next to the .obj |
| pickup-truck-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.