Settle down (bird)

Settling down for a bird: the legs fold under and the wings fold in and settle, the same whether it is landing on the ground, a perch or a ledge.

A cartoon person and a dog lowering down onto folded legs, arms settling in at the sides.

Use it in a cartoonOpen it in the block editorThe pack file (JSON)

What it is for

Settle down (bird) is the sit-down of the nine game cycles, written for the bird set: a bird settles down onto its folded legs and fluffs its wings, the same whether it is landing on the ground, a perch or a ledge at hip height. This body only has a ground version to settle onto, since the pose does not change by surface the way the upright sit-down's does.

The principle it shows: arcs

The same cosine geometry that keeps a two-bone leg's foot planted keeps this one-bone leg's foot planted too, worked out from the exact same formula with a much shorter leg length. Folding onto a short, single-bone leg bends further and faster than the long-legged sit, which is what makes this read as settling rather than sitting down the ordinary way.

The program, line by line

settings: h = 540, leg = 0.05, on = 0
when it starts
  show the side view
  at the same time:
    — 1:
      glide left leg 45, right leg 45, left foot -45, right foot -45, left arm -10, right arm 10, head -4, tail -14 over 0.7 s (smooth)
    — 2:
      set dx 0, dy 0
      for 0.7 s:
        dy follows (h*leg*(1 - cos(((0 + 45*smoothstep(min(local/0.7, 1))))*pi/180)))
        dx follows (-h*leg*sin(((0 + 45*smoothstep(min(local/0.7, 1))))*pi/180))
  set dx (-h*leg*sin((45)*pi/180)), dy (h*leg*(1 - cos((45)*pi/180)))
  glide left arm 0, right arm 0 over 0.2 s (smooth)

Written out in full, exactly as the engine prints them:

h*leg*(1 - cos(((0 + 45*smoothstep(min(local/0.7, 1))))*pi/180))

-h*leg*sin(((0 + 45*smoothstep(min(local/0.7, 1))))*pi/180)

-h*leg*sin((45)*pi/180)

h*leg*(1 - cos((45)*pi/180))

Try this

  1. Take 1.1 seconds to settle instead of 0.7. The sit becomes a slow, careful fold instead of a quick one.

    In the program: ramp · over 0.7 → 1.1

  2. Take half a second to fold the wings in instead of 0.2. The wings settle much more gradually after the legs have already folded.

    In the program: ramp · over 0.2 → 0.5

How it differs from Sit down and Sit (bird)

Sit down is the two-bone-leg version, where ground, chair and ledge genuinely bend the hips and knees differently. Sit (bird) is the held pose this move settles into once it finishes.

Works on

Worked out by the build: it plays the move in the engine on each body and checks what moves on screen. Nobody types this table.
BodyMoves?What moves
2 legs (a person)yeswhole body, turns, head, arms, legs
4 legs (a dog)yeswhole body, head, front legs, back legs, tail, ears
no legs (the monster with no legs)yeswhole body, turns, arms, tail

c4c:beh:sit_down_bird · version 1.0.0 · c4c-free · by Jabbertoon