Ninja
A walking stealth scout about 1.75 m tall, wrapped head to toe in dark cloth: hood and face mask that leave only the eyes, tied hood tails, sash, wrapped forearms and shins, split-toe socks and a short straight blade held upright or slung across the back. Style, cloth colour and blade are knobs.
- Size
- 0.72 × 1.7 × 1.0 m
- Triangles
- 2,128
- Kit
- Historical
Tune it
3 knobs: Style, Cloth, Blade.
Specs
- Size
- 0.72 × 1.7 × 1.0 m width × height × depth
- Triangles
- 2,128 of 6,000
- Draw calls
- 1 one vertex-colour material
- Legs
- 2 2 gait groups
- Stride
- 46 cm duty factor 0.6
- Foot slide
- 0.00 mm limit 1 mm
- Walk clip
- 1.15 m/s at playback speed 1
- Moving parts
- 5 upperarm_L · rotate, forearm_L · rotate, spine · rotate, chest · rotate, neck · rotate
- Knobs
- 3 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/ninja.mjs';
import { walker } from 'https://gaitkit.com/runtime/walk.mjs';
const ninja = createAsset();
scene.add(ninja); // rests on y = 0, front faces +Z
const gait = walker(ninja, { ground: (x, z) => terrainHeight(x, z) }); // or omit ground for a flat floor
let dist = 0;
renderer.setAnimationLoop(() => {
dist += speed * clock.getDelta();
ninja.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/ninja.mjs';
import { walker } from 'https://gaitkit.com/runtime/walk.mjs';
export function Ninja({ 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 ninja.glb (download below). It carries an in-place "Walk" animation.
@onready var anim: AnimationPlayer = $Ninja/AnimationPlayer
func _physics_process(delta):
velocity = transform.basis.z * speed
move_and_slide()
anim.play("Walk")
anim.speed_scale = speed / 1.15 # Walk clip covers 1.15 m/s at 1x// Import ninja.glb with glTFast (com.unity.cloud.gltfast).
animator.Play("Walk");
animator.speed = speed / 1.15 // Walk clip covers 1.15 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": "ninja", "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 |
|---|---|---|---|---|
style | choice | stylized realistic chibi blocky | stylized | Art style of the whole figure: stylized (5.5 heads, chunky adventure-game look), realistic (about 7 heads, adult proportions), chibi (big head, 1.1 m) or blocky (voxel boxes). |
cloth | choice | black indigo charcoal forest | black | Colour of the wrap with its sash accent: black (red sash), indigo (pale sash), charcoal (plum sash) or forest green (ochre sash). |
blade | choice | drawn on back none | drawn | The short straight sword: drawn and held upright in the right hand, sheathed diagonally across the back with the hilt over the right shoulder, or no blade. |
Presets: night shadow {"cloth":"black","blade":"drawn"} · river scout {"cloth":"indigo","blade":"on back","style":"realistic"} · little shinobi {"cloth":"charcoal","blade":"on back","style":"chibi"}
Files
| File | What |
|---|---|
| ninja.glb | GLB, default look · 232 KB |
| ninja.mjs | ES module, every knob live |
| ninja.obj | OBJ, static, no colour |
| ninja-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.