Ranger
A 1.8 m ranger in a hooded travelling cloak over a leather jerkin, walking with either a tall longbow upright in the left hand (and a quiver on the back) or a long hunting spear upright in the right. Weapon, cloak colour, hood and art style are knobs; the weapon sits in grip_L (bow) or grip_R (spear).
- Size
- 0.93 × 1.8 × 1.1 m
- Triangles
- 2,296
Tune it
4 knobs: Style, Weapon, Cloak, Hood.
Specs
- Size
- 0.93 × 1.8 × 1.1 m width × height × depth
- Triangles
- 2,296 of 6,000
- Draw calls
- 1 one vertex-colour material
- Legs
- 2 2 gait groups
- Stride
- 45 cm duty factor 0.6
- Foot slide
- 0.00 mm limit 1 mm
- Walk clip
- 1.127 m/s at playback speed 1
- Moving parts
- 5 upperarm_R · rotate, forearm_R · rotate, spine · rotate, chest · rotate, neck · rotate
- Knobs
- 4 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/ranger.mjs';
import { walker } from 'https://gaitkit.com/runtime/walk.mjs';
const ranger = createAsset();
scene.add(ranger); // rests on y = 0, front faces +Z
const gait = walker(ranger, { ground: (x, z) => terrainHeight(x, z) }); // or omit ground for a flat floor
let dist = 0;
renderer.setAnimationLoop(() => {
dist += speed * clock.getDelta();
ranger.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/ranger.mjs';
import { walker } from 'https://gaitkit.com/runtime/walk.mjs';
export function Ranger({ 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 ranger.glb (download below). It carries an in-place "Walk" animation.
@onready var anim: AnimationPlayer = $Ranger/AnimationPlayer
func _physics_process(delta):
velocity = transform.basis.z * speed
move_and_slide()
anim.play("Walk")
anim.speed_scale = speed / 1.127 # Walk clip covers 1.127 m/s at 1x// Import ranger.glb with glTFast (com.unity.cloud.gltfast).
animator.Play("Walk");
animator.speed = speed / 1.127 // Walk clip covers 1.127 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": "ranger", "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 | realistic stylized chibi blocky | stylized | Art style of the whole figure: realistic (about 7 heads tall), stylized (5.5 heads, chunky game look), chibi (big head, 1.1 m) or blocky (voxel boxes). |
weapon | choice | longbow spear | longbow | A tall longbow held upright in the left hand with a quiver of arrows on the back, or a long leaf-bladed hunting spear held upright in the right hand. |
cloak | choice | forest earth slate heather | forest | Cloak and hood colour: forest green, earth brown, slate grey or heather purple. |
hood | toggle | on / off | true | Hood up over the head. Off shows a weathered face with stubble and tied-back hair. |
Presets: north warden {"cloak":"slate","weapon":"spear","style":"realistic"} · greenwood archer {"cloak":"forest","weapon":"longbow"} · road wanderer {"cloak":"earth","weapon":"spear","hood":false}
Files
| File | What |
|---|---|
| ranger.glb | GLB, default look · 268 KB |
| ranger.mjs | ES module, every knob live |
| ranger.obj | OBJ, static, no colour |
| ranger-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.