Shopkeeper
A life-size shopkeeper, about 1.75 m tall, in a bib apron with a front pocket and pencil over a shirt with rolled sleeves, carrying a wicker basket of apples and bread in the left hand or a crate of produce in both hands. Apron colour, what they carry, presentation and art style are knobs; the seed picks a different person and shirt.
- Size
- 0.88 × 1.7 × 0.99 m
- Triangles
- 2,106
- Kit
- Townsfolk
Tune it
5 knobs: Apron, Carry, Presentation, Style, Seed.
Specs
- Size
- 0.88 × 1.7 × 0.99 m width × height × depth
- Triangles
- 2,106 of 6,000
- Draw calls
- 1 one vertex-colour material
- Legs
- 2 2 gait groups
- Stride
- 44 cm duty factor 0.6
- Foot slide
- 0.00 mm limit 1 mm
- Walk clip
- 1.095 m/s at playback speed 1
- Moving parts
- 7 upperarm_L · rotate, forearm_L · rotate, upperarm_R · rotate, forearm_R · rotate, spine · rotate, chest · rotate, neck · rotate
- Knobs
- 5 3 presets
- Night lights
- 0 none
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/shopkeeper.mjs';
import { walker } from 'https://gaitkit.com/runtime/walk.mjs';
const shopkeeper = createAsset();
scene.add(shopkeeper); // rests on y = 0, front faces +Z
const gait = walker(shopkeeper, { ground: (x, z) => terrainHeight(x, z) }); // or omit ground for a flat floor
let dist = 0;
renderer.setAnimationLoop(() => {
dist += speed * clock.getDelta();
shopkeeper.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/shopkeeper.mjs';
import { walker } from 'https://gaitkit.com/runtime/walk.mjs';
export function Shopkeeper({ 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 shopkeeper.glb (download below). It carries an in-place "Walk" animation.
@onready var anim: AnimationPlayer = $Shopkeeper/AnimationPlayer
func _physics_process(delta):
velocity = transform.basis.z * speed
move_and_slide()
anim.play("Walk")
anim.speed_scale = speed / 1.095 # Walk clip covers 1.095 m/s at 1x// Import shopkeeper.glb with glTFast (com.unity.cloud.gltfast).
animator.Play("Walk");
animator.speed = speed / 1.095 // Walk clip covers 1.095 m/s at 1x
// Humanoid: the root node's extras.humanoid maps Unity bone names to nodes (Hips → body, Head → head …).Use the gaitkit MCP server: get_variant({ "id": "shopkeeper", "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 |
|---|---|---|---|---|
apron | choice | green navy red brown stripe | green | Bib apron colour: green, navy, red, brown or blue-and-white stripe (the classic grocer look). |
carry | choice | basket crate none | basket | A wicker basket of apples and a loaf swinging in the left hand, a wooden crate of fruit and greens held in front with both hands, or nothing. |
presentation | choice | masculine feminine neutral | feminine | Body shape and grooming: masculine (broader shoulders, short hair, a beard on some seeds), feminine (narrower waist, longer or tied-up hair) or neutral (in between, no beard). |
style | choice | realistic stylized chibi blocky | stylized | Art style of the whole figure: realistic (about 7 heads tall, adult proportions), stylized (5.5 heads, chunky game look), chibi (big head, about 1.1 m tall) or blocky (voxel boxes). Outfit and props follow the style. |
seed | range | 1 to 40, step 1 | 1 | A different person: skin tone (light to deep), hair colour and style, eye colour, face, build and shirt colour. |
Presets: greengrocer {"apron":"stripe","carry":"crate","presentation":"masculine","seed":1} · corner shop {"apron":"green","carry":"basket","seed":23} · market baker {"apron":"brown","carry":"basket","presentation":"neutral","style":"realistic","seed":38}
Files
| File | What |
|---|---|
| shopkeeper.glb | GLB, default look · 235 KB |
| shopkeeper.mjs | ES module, every knob live |
| shopkeeper.obj | OBJ, static, no colour |
| shopkeeper-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.