Making the sample character in Blender

A short recipe for a character that Despair Physics maps, builds and animates with no manual steps: one mesh, a 26-bone deform skeleton and four animations. Everything in it is yours, so it can ship in the package with no third-party notice.

The bone names below follow the Unreal mannequin scheme with Blender’s own .L / .R suffixes. RigMapper reads thigh.L as thigh_l, so the rig maps by name, with no Humanoid avatar.

1. Skeleton

Model in metres, 1.8 m tall (any height from 1.1 m to 4.5 m works, 0.6× to 2.5× the reference; 1.7 to 1.9 m is the tested sweet spot). The character stands in a T-pose facing −Y (it looks at you in Front view, numpad 1), feet on the origin, arms straight out along ±X with palms down, legs straight down. Its left is +X, so .L bones sit on +X.

BoneParentHead (x, y, z)Tail (x, y, z)
pelvis(none)0, 0, 1.000, 0, 1.08
spine_01pelvis0, 0, 1.080, 0, 1.20
spine_02spine_010, 0, 1.200, 0, 1.34
spine_03spine_020, 0, 1.340, 0, 1.50
neck_01spine_030, 0, 1.500, 0, 1.60
headneck_010, 0, 1.600, 0, 1.80 (top of the skull)
clavicle.Lspine_030.02, 0, 1.460.17, 0, 1.46
upperarm.Lclavicle.L0.17, 0, 1.460.45, 0, 1.46
lowerarm.Lupperarm.L0.45, 0, 1.460.71, 0.01, 1.46
hand.Llowerarm.L0.71, 0.01, 1.460.80, 0.01, 1.46
middle_01.Lhand.L0.80, 0.01, 1.460.84, 0.01, 1.46
middle_02.Lmiddle_01.L0.84, 0.01, 1.460.87, 0.01, 1.46
thigh.Lpelvis0.09, 0, 0.950.09, −0.01, 0.52
calf.Lthigh.L0.09, −0.01, 0.520.09, 0, 0.09
foot.Lcalf.L0.09, 0, 0.090.09, −0.13, 0.02
ball.Lfoot.L0.09, −0.13, 0.020.09, −0.22, 0.02

Make the left side, then Armature > Symmetrize for the .R bones. Rules the mapper checks:

2. Mesh

3. Four animations

Make each as its own Action, named exactly as below, at 30 fps. Push each to the NLA (or keep it fake-user’d) so the exporter writes all of them.

ActionLengthWhat it must be
Idle2 to 4 s, loopingStanding in place, feet flat and still, knees slightly soft, a little breathing or weight shift. First and last frames identical.
WalkOne cycle (two steps), about 1 s, loopingA normal walk that moves forward: pelvis travels about 2 m along −Y over the cycle, feet planted on the ground without sliding. Last frame = first frame moved forward by the stride. Not in place.
GetUpBack2.5 to 3.5 sStarts lying flat on the back: body straight, arms at the sides or slightly out, pelvis about 0.11 m above the floor. Sits up, tucks the feet in, stands, and ends in Idle’s first pose.
GetUpFront2.5 to 3.5 sStarts lying flat on the front, face down, the same way. Pushes up to all fours, steps a foot under, stands, ends in Idle’s first pose.

For the get-ups, move the pelvis bone itself: they carry no root motion. Lying direction doesn’t matter; the first frame is lined up with wherever the body lies, and the body blends into it over half a second, so a straight, relaxed first frame works best.

4. Export (File > Export > FBX)

SettingValue
Limit toSelected Objects (the armature and the body mesh)
Object TypesArmature, Mesh
Scale1.00, Apply Scalings: FBX All
Forward / Up−Z Forward, Y Up
Apply Unit, Use Space Transformon
Apply Transformon
ArmaturePrimary Bone Axis Y, Secondary X; Only Deform Bones on; Add Leaf Bones on
Bake Animationon: Key All Bones, NLA Strips or All Actions, Force Start/End Keying; Simplify 0

Leaf bones give head and ball an end point, which sizes the head and feet exactly.

Export from the rest pose. The exporter writes the armature’s first action in the action editor as the default pose, and that pose is what the ragdoll is built in. Before exporting, ensure that the true T-Posing empty action is the first one on the action list.

5. Import into Unity

Select the FBX in the Project window:

ClipLoop TimeLoop Pose
Idle, Walkonon
GetUpBack, GetUpFrontoffoff

Loop Time must be on for Idle and Walk. With it off, the clip plays once and stops, so a walk stops after its first cycle. Loop Pose (only available with Loop Time on) blends the last frame back into the first, so the loop has no jump in case start and end frames of your looped animation do not match.

Not Humanoid: the animation skeleton plays Generic clips by bone path.

6. Set it up and check it

  1. Select the FBX and open Tools > Despair Physics > Setup Wizard. Found by must say Unreal names, with no problems listed. Animation model fills in with the FBX.
  2. Turn on Add locomotion and assign Idle, Walk, GetUpBack (Get up from back) and GetUpFront (Get up from front).
  3. Preview: height about 1.80 m, mass about 94 kg, every part fitted to the mesh. Then Create Ragdoll Prefab: it is saved next to the FBX as <name> Ragdoll.prefab.
  4. Drop it in a scene with a floor, press Play: it idles and stands. Open Tools > Despair Physics > Validator: no errors.