drag to orbit · tap the ground to send it
Creature · Walks on 8 legs
Rock Crab
A chunky shore crab that scuttles sideways on eight legs, two big claws folded in front of its face. It travels along +Z like every walker, so its face looks along +X. The claws snap while it walks.
- Size
- 0.44 × 0.17 × 0.65 m
- Triangles
- 1,480
- Kit
- Coastal Town
Tune it
4 knobs: Shell, Claw size, Size, Spikes.
Specs
- Size
- 0.44 × 0.17 × 0.65 m width × height × depth
- Triangles
- 1,480 of 6,000
- Draw calls
- 1 one vertex-colour material
- Legs
- 8 2 gait groups
- Stride
- 8 cm duty factor 0.6
- Foot slide
- 0.00 mm limit 1 mm
- Walk clip
- 0.2 m/s at playback speed 1
- Moving parts
- 2 claw_L_pincer · rotate, claw_R_pincer · rotate
- Knobs
- 4 1 presets
- Night lights
- 1 claw
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/rock-crab.mjs';
import { walker } from 'https://gaitkit.com/runtime/walk.mjs';
const rockCrab = createAsset();
scene.add(rockCrab); // rests on y = 0, front faces +Z
const gait = walker(rockCrab, { ground: (x, z) => terrainHeight(x, z) }); // or omit ground for a flat floor
let dist = 0;
renderer.setAnimationLoop(() => {
dist += speed * clock.getDelta();
rockCrab.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/rock-crab.mjs';
import { walker } from 'https://gaitkit.com/runtime/walk.mjs';
export function RockCrab({ 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 rock-crab.glb (download below). It carries an in-place "Walk" animation.
@onready var anim: AnimationPlayer = $RockCrab/AnimationPlayer
func _physics_process(delta):
velocity = transform.basis.z * speed
move_and_slide()
anim.play("Walk")
anim.speed_scale = speed / 0.2 # Walk clip covers 0.2 m/s at 1x// Import rock-crab.glb with glTFast (com.unity.cloud.gltfast).
animator.Play("Walk");
animator.speed = speed / 0.2 // Walk clip covers 0.2 m/s at 1xUse the gaitkit MCP server: get_variant({ "id": "rock-crab", "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 |
|---|---|---|---|---|
shell | choice | shore blue ghost lava | shore | shore (classic red-orange), blue (blue crab with orange claw tips), ghost (pale sand crab), lava (black with glowing orange claws). |
clawSize | range | 0.6 to 2, step 0.05 | 1 | Scales both claws. Above 1.5 gives a fiddler-crab or boss look. |
size | range | 0.5 to 4, step 0.1 | 1 | Uniform scale. 1 is a 40 cm crab; 4 is a giant enemy crab. |
spikes | toggle | on / off | false | Adds a row of spines along the front and side rim of the shell. |
Presets: giant enemy crab {"size":3.5,"clawSize":1.6,"spikes":true,"shell":"lava"}
Files
| File | What |
|---|---|
| rock-crab.glb | GLB, default look · 221 KB |
| rock-crab.mjs | ES module, every knob live |
| rock-crab.obj | OBJ, static, no colour |
| rock-crab-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.