Studio › Manual › More tools

Rig Creature

Room > Animation > Rig Creature… (⌃⌥⇧⌘C) rigs a still animal or monster (a model with no skeleton, placed in a 3D room): select it, then open the window. Rig Character does humanoids; Rig Creature the other body plans. It gives the model a skeleton for its body plan, skin weights, and starter clips with their roles. Room 3D's Rig Creature, in Studio.

Body plans (the Body menu; the window picks one from the model's shape when it opens, and the line under it says why, for example Looks like: Quadruped (four legs on the floor)):

  • Quadruped: a dog, wolf, cat, horse or rat. A spine (hips to chest), a neck, a head, a jaw, a tail, and four legs of four bones each (upper, lower, foot, toe).
  • Dragon: a quadruped with wings. Each wing is an arm (upper arm, forearm, hand and a thumb claw) with finger spars of two bones each holding the membrane.
  • Bird: two legs and feathered wings (upper arm, forearm, hand, tip), a neck, a head with a beak (the jaw) and a tail.
  • Bat: two legs and wings with finger spars, like a dragon's.
  • Serpent: a snake, worm or eel: a chain of spine bones from the tail tip to the head (8 to 32), a head and a jaw. Coiled models work: the chain follows the body.
  • Spider / insect: a body, an abdomen, fangs (the jaw), and 8 legs (spider) or 6 (insect) of four bones each (coxa, femur, tibia, tarsus).
  • Fish / shark: a spine from the head to the tail fin, a jaw, a tail fin, a dorsal fin and two pectoral fins.

The markers. Three flat views show the model from the front, the side (its left) and the top (looking down on its back, the head at the top), with a marker on each joint, guessed from the model's shape: the feet where it touches the floor, the body where it's thickest, each leg, wing, neck and tail followed out through the model and kept to its middle. Gold markers are on the middle, blue on the left, pink on the right. Drag a marker onto its joint: the front view moves it across and up, the side view along and up, the top view across and along. The bones follow as you drag. Click a marker to pick it, then nudge it with the arrow keys (Shift for bigger steps). Symmetry (on to start with) moves the other side's marker to match. Guess Again (⇧⌘G) puts every marker back where the model's shape puts it. The turn buttons (90°) turn the model a quarter turn when its head doesn't point at you in the front view.

The views take the model's shape: a long animal gets three views side by side; a wide one (wings spread) gets the front view over the top view, with the side view beside them. The mouse wheel (or a pinch) zooms where the pointer is, drag the background to slide a view, double-click to frame the whole model again. Markers on top of each other: the near ones are drawn over the far ones (in the side view the far side's are darker, behind); a click takes the nearest, or the one you picked last; click again in the same place for the next one down. Hold the pointer over a marker for its name.

Counts: Neck bones (1-6), Tail bones (0-12, 0 for none), Spine bones, Wing fingers (2-5, dragons and bats) and Legs (6 or 8, spiders and insects). Changing legs or wing fingers guesses those markers again. Only the rows for the chosen body plan show.

Options:

  • Rider socket (dragons, and quadrupeds named like a mount): a bone on the back, socket_rider, for a rider or a saddle.
  • Mouth socket: socket_mouth, between the jaws.
  • Starter clips: make the clips below from the creature's own bones and give them their roles.
  • Flap / Glide (dragons, birds and bats): In place, Height offset (Flap lifts the body on each downstroke, Glide rises and sinks gently) or Root motion (it also carries the body forward). Swim (fish): In place or Root motion.
  • Quality: Draft is quickest, High uses finer cubes for thin wings and legs close together.

Press Rig (Return). A bar shows the progress; Cancel (Esc) stops it and nothing changes. The rigged model, <model>_rigged, is written into the project (datafiles/room3d/, listed in the included files) and takes the still model's place in the room; its clips' roles go into the thing's creation code (anim_idle = "Idle", anim_walk, anim_run, anim_jump, anim_fall, anim_hurt, anim_die), as Room 3D's Save to GameMaker writes them. It's one step: Edit > Undo puts the still model back. The line at the foot says what was made. Choosing Rig Creature… again on the rigged creature opens the still model with the markers and choices it was rigged with, and Rig replaces the rigged model.

Show weights (after Rig) colours the views by how much one bone moves each part (red: all of it, blue: none); pick the bone under it.

The weights are measured through the body (not in straight lines), then tidied: each wing moves only with its own bones (the body keeps at most 40% of the wing's upper arm); the lower jaw moves with the jaw alone; each tail vertex with its own tail bone and its neighbours; each leg with its own bones and the body's, never another leg's; at most 4 bones per vertex, summing to 1, as GameMaker's vertex format holds.

Starter clips and their roles:

  • Quadruped: Idle (Idle), Walk (Walk), Run (Run: a trot), Bite, Hurt (Hurt), Die (Die).
  • Dragon: those, and Wings Fold, Wings Open, Flap (Jump), Glide (Fall), Roar.
  • Bird, Bat: Idle (Idle), Walk (Walk), Hop (Run), Flap (Jump), Glide (Fall).
  • Serpent: Idle (Idle), Slither (Walk), Strike.
  • Spider / insect: Idle (Idle), Walk (Walk), Attack.
  • Fish / shark: Swim (Idle), Turn.

In Walk, Run and Hop each planted foot moves back exactly as fast as the body goes forward, so with the creature moving at the walk's speed it stays put on the ground; the body is lowered just enough for every step to be in reach. Wings Fold closes the finger spars like a fan, in order and a few degrees apart. Clips play in place (the game moves the creature), except Flap, Glide and Swim with Root motion.

Tips: wings should be modelled spread out (with folded wings, place the wing markers by hand). The model should face you in the front view. A tail lying on the floor is told from a leg by its length. The Animation Library's clips are for humanoids, so it isn't opened after Rig Creature.
In the inspector, a rigged creature shows a Creature section in place of a humanoid's Hand poses: its Sockets (socket_mouth, socket_rider: the bones to attach things to, which GameMaker's r3d_bone_matrix reads) and its Clips.

Keys are shown as on the Mac: ⌘ Command, ⌥ Option, ⌃ Control, ⇧ Shift. Studio for Windows shows its own keys beside each menu item.