Wild Boar
An 80 cm-tall wild boar, about 1.4 m long, wedge-shaped with massive shoulders, a bristly mane down the spine, a long snout with a flat disc nose and upcurved tusks; grizzled fur painted face by face, or the cream stripes of a piglet. Trots a lateral-sequence walk on short IK legs with planted cloven hooves; the snout swings and the tail twitches.
- Size
- 0.46 × 0.97 × 1.6 m
- Triangles
- 1,976
- Kit
- Wildlife
Tune it
4 knobs: Coat, Tusks, Piglet stripes, Size.
Specs
- Size
- 0.46 × 0.97 × 1.6 m width × height × depth
- Triangles
- 1,976 of 6,000
- Draw calls
- 1 one vertex-colour material
- Legs
- 4 2 gait groups
- Stride
- 25 cm duty factor 0.68
- Foot slide
- 0.00 mm limit 1 mm
- Walk clip
- 0.625 m/s at playback speed 1
- Moving parts
- 2 head · rotate, tail · 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/wild-boar.mjs';
import { walker } from 'https://gaitkit.com/runtime/walk.mjs';
const wildBoar = createAsset();
scene.add(wildBoar); // rests on y = 0, front faces +Z
const gait = walker(wildBoar, { ground: (x, z) => terrainHeight(x, z) }); // or omit ground for a flat floor
let dist = 0;
renderer.setAnimationLoop(() => {
dist += speed * clock.getDelta();
wildBoar.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/wild-boar.mjs';
import { walker } from 'https://gaitkit.com/runtime/walk.mjs';
export function WildBoar({ 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 wild-boar.glb (download below). It carries an in-place "Walk" animation.
@onready var anim: AnimationPlayer = $WildBoar/AnimationPlayer
func _physics_process(delta):
velocity = transform.basis.z * speed
move_and_slide()
anim.play("Walk")
anim.speed_scale = speed / 0.625 # Walk clip covers 0.625 m/s at 1x// Import wild-boar.glb with glTFast (com.unity.cloud.gltfast).
animator.Play("Walk");
animator.speed = speed / 0.625 // Walk clip covers 0.625 m/s at 1xUse the gaitkit MCP server: get_variant({ "id": "wild-boar", "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 | grizzled black russet | grizzled | Fur colour: grizzled (dark grey-brown with pale tips, the classic European boar), black (feral hog), russet (red-brown summer coat). |
tusks | toggle | on / off | true | Upcurved ivory tusks of a mature male (a tusker). Off = a sow. |
stripes | toggle | on / off | false | Cream stripes running along the body, the humbug camouflage of a young piglet. |
size | range | 0.3 to 1.2, step 0.05 | 1 | Uniform scale. 1 is about 80 cm at the shoulder; 0.35 with stripes on is a piglet. |
Presets: piglet {"stripes":true,"tusks":false,"size":0.35} · sow {"tusks":false,"size":0.85} · old tusker {"coat":"black","size":1.15}
Files
| File | What |
|---|---|
| wild-boar.glb | GLB, default look · 270 KB |
| wild-boar.mjs | ES module, every knob live |
| wild-boar.obj | OBJ, static, no colour |
| wild-boar-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.