CreatureParams
Everything a creature is made from: shape the body and its rig, look the colours, gait how the generated clips move. Shape lengths are multipliers on the species' proportions (1 is the default rat), with size scaling everything. Presets in PRESETS.
Defined in: params.ts:17
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
gait | object | - | params.ts:48 |
gait.bounce | number | Body bob. | params.ts:54 |
gait.pace | number | Walk cycles per second. | params.ts:52 |
gait.stride | number | Leg swing, 1 = natural. | params.ts:50 |
gait.tailSway | number | Tail swing. | params.ts:56 |
look | object | - | params.ts:39 |
look.belly | number | How much lighter the belly is, 0..1. | params.ts:42 |
look.coat | Coat | - | params.ts:40 |
look.mottle | number | Tonal mottling of the fur, 0..1. | params.ts:44 |
look.redEyes | boolean | Albino eyes. | params.ts:46 |
shape | object | - | params.ts:20 |
shape.bodyLength | number | Torso length. | params.ts:24 |
shape.ears | number | Ear size. | params.ts:32 |
shape.girth | number | Body width and depth. | params.ts:26 |
shape.headLength | number | Neck to nose. | params.ts:28 |
shape.legLength | number | Leg length; longer legs carry the body higher. | params.ts:34 |
shape.legThickness | number | - | params.ts:35 |
shape.size | number | Scales everything; below about 0.7 legs get thinner than 2 voxels. | params.ts:22 |
shape.snout | number | How far the snout narrows, 0 blunt .. 1 pointed. | params.ts:30 |
shape.tailLength | number | - | params.ts:36 |
shape.tailThickness | number | - | params.ts:37 |
species | string | Label only, e.g. "rat". | params.ts:19 |