Donkey
A donkey about 1.1 m at the withers with long ears, a pale muzzle and belly and the dark cross on its back, in grey, brown, dark or cream, with optional panniers and a rope halter. Walks with a real lateral-sequence gait: front knees bend forward, hind hocks bend back, small hooves stay planted, the head nods and the tail swishes.
- Size
- 0.48 × 1.8 × 1.8 m
- Triangles
- 2,806
- Kit
- Animals
Tune it
4 knobs: Coat, Packs, Halter, Size.
Specs
- Size
- 0.48 × 1.8 × 1.8 m width × height × depth
- Triangles
- 2,806 of 6,000
- Draw calls
- 1 one vertex-colour material
- Legs
- 4 2 gait groups
- Stride
- 36 cm duty factor 0.68
- Foot slide
- 0.00 mm limit 1 mm
- Walk clip
- 0.9 m/s at playback speed 1
- Moving parts
- 4 neck · rotate, tail · rotate, ear_L · rotate, ear_R · rotate
- Knobs
- 4 3 presets
- Night lights
- 1 eye
Passed the validator: real scale, rests on y = 0, front faces +Z, deterministic, planted feet never slide past 1 mm.
Use it
Code for the specimen as it is set up above; it follows your knobs.
import { createAsset } from 'https://gaitkit.com/cdn/donkey.mjs';
import { walker } from 'https://gaitkit.com/runtime/walk.mjs';
const donkey = createAsset();
scene.add(donkey); // rests on y = 0, front faces +Z
const gait = walker(donkey, { ground: (x, z) => terrainHeight(x, z) }); // or omit ground for a flat floor
let dist = 0;
renderer.setAnimationLoop(() => {
dist += speed * clock.getDelta();
donkey.position.z = dist;
gait.poseAt(dist); // feet stay planted, at any frame rate
renderer.render(scene, camera);
});import { useMemo, useRef } from 'react';
import { useFrame } from '@react-three/fiber';
import { createAsset } from 'https://gaitkit.com/cdn/donkey.mjs';
import { walker } from 'https://gaitkit.com/runtime/walk.mjs';
export function Donkey({ speed = 1 }) {
const model = useMemo(() => createAsset(), []);
const gait = useMemo(() => walker(model), [model]);
const dist = useRef(0);
useFrame((_, dt) => {
dist.current += speed * dt;
model.position.z = dist.current;
gait.poseAt(dist.current); // feet stay planted, at any frame rate
});
return <primitive object={model} />;
}# Import donkey.glb (download below). It carries an in-place "Walk" animation.
@onready var anim: AnimationPlayer = $Donkey/AnimationPlayer
func _physics_process(delta):
velocity = transform.basis.z * speed
move_and_slide()
anim.play("Walk")
anim.speed_scale = speed / 0.9 # Walk clip covers 0.9 m/s at 1x// Import donkey.glb with glTFast (com.unity.cloud.gltfast).
animator.Play("Walk");
animator.speed = speed / 0.9 // Walk clip covers 0.9 m/s at 1xUse the gaitkit MCP server: get_variant({ "id": "donkey", "want": "default look" })
then place the result and walk it with walker() so the feet stay planted.
# MCP endpoint
https://gaitkit.com/mcpKnobs
| Knob | Type | Values | Default | What it does |
|---|---|---|---|---|
coat | choice | grey brown dark cream | grey | Coat colour: grey (classic grey-dun with a dark cross), brown, dark (near black with a white muzzle), cream (pale with a faint cross). |
packs | toggle | on / off | false | A pack saddle with two wicker panniers and a rolled red blanket on top (a working pack donkey). |
halter | toggle | on / off | true | A red rope halter on the head with a short lead rope. |
size | range | 0.5 to 1.3, step 0.05 | 1 | Uniform scale. 1 is a standard donkey 1.1 m at the withers; 0.6 is a miniature donkey or a foal; 1.3 is a big mammoth jack (mule size). |
Presets: pack donkey {"coat":"brown","packs":true,"halter":true} · miniature donkey {"coat":"grey","size":0.6,"halter":false} · cream jenny {"coat":"cream","halter":true}
Files
| File | What |
|---|---|
| donkey.glb | GLB, default look · 361 KB |
| donkey.mjs | ES module, every knob live |
| donkey.obj | OBJ, static, no colour |
| donkey-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.