Police Officer
A life-size patrol officer, about 1.75 m tall, who walks the beat in a generic dark uniform with a peaked cap, a shoulder radio, epaulettes and a duty belt with pouches and a handheld radio; no insignia, badges or text. Uniform colour, a hi-vis traffic vest, presentation and art style are knobs; the seed picks a different officer.
- Size
- 0.48 × 1.7 × 0.63 m
- Triangles
- 1,902
- Kit
- Townsfolk
Tune it
5 knobs: Uniform, Hi-vis vest, Presentation, Style, Seed.
Specs
- Size
- 0.48 × 1.7 × 0.63 m width × height × depth
- Triangles
- 1,902 of 6,000
- Draw calls
- 1 one vertex-colour material
- Legs
- 2 2 gait groups
- Stride
- 55 cm duty factor 0.6
- Foot slide
- 0.00 mm limit 1 mm
- Walk clip
- 1.376 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
- 2 reflect, led
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/police-officer.mjs';
import { walker } from 'https://gaitkit.com/runtime/walk.mjs';
const policeOfficer = createAsset();
scene.add(policeOfficer); // rests on y = 0, front faces +Z
const gait = walker(policeOfficer, { ground: (x, z) => terrainHeight(x, z) }); // or omit ground for a flat floor
let dist = 0;
renderer.setAnimationLoop(() => {
dist += speed * clock.getDelta();
policeOfficer.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/police-officer.mjs';
import { walker } from 'https://gaitkit.com/runtime/walk.mjs';
export function PoliceOfficer({ 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 police-officer.glb (download below). It carries an in-place "Walk" animation.
@onready var anim: AnimationPlayer = $PoliceOfficer/AnimationPlayer
func _physics_process(delta):
velocity = transform.basis.z * speed
move_and_slide()
anim.play("Walk")
anim.speed_scale = speed / 1.376 # Walk clip covers 1.376 m/s at 1x// Import police-officer.glb with glTFast (com.unity.cloud.gltfast).
animator.Play("Walk");
animator.speed = speed / 1.376 // Walk clip covers 1.376 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": "police-officer", "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 |
|---|---|---|---|---|
uniform | choice | navy black slate shirt | navy | Uniform colours: navy, black, slate (blue-grey tunic, dark trousers) or shirt (light blue shirt sleeves with navy trousers). Always plain: no insignia or text. |
vest | toggle | on / off | false | A yellow high-visibility traffic vest with silver reflective bands over the uniform; the bands shine at night. |
presentation | choice | masculine feminine neutral | neutral | 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 | realistic | 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 | 24 | A different person: skin tone (light to deep), hair colour and style, eye colour, face, build. |
Presets: beat officer {"uniform":"navy","seed":24} · traffic duty {"uniform":"black","vest":true,"presentation":"feminine","seed":8} · summer patrol {"uniform":"shirt","presentation":"masculine","style":"stylized","seed":25}
Files
| File | What |
|---|---|
| police-officer.glb | GLB, default look · 221 KB |
| police-officer.mjs | ES module, every knob live |
| police-officer.obj | OBJ, static, no colour |
| police-officer-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.