Characters that move together

Formo team · 18 June 2021

Hello,

Floating figures in a virtual pool were fun to draw, but making them wave an arm showed us a problem: how do you move a body without moving every piece by hand?


Joints

A body is made of parts joined together. Turn the shoulder and the arm turns. Turn the elbow and only the forearm moves. We built a very small version of this for the figures: each part knows which part it hangs from, and moves with it.

Think of a marionette. You pull one string and a whole limb answers.

Parents carry children, children keep their own bend.


Parts hung from parts

In the pool scene each figure is a short chain: body, upper arm, forearm. We set the chain up in code for now, and the same rule runs for every figure. Rotate one joint and everything below it follows, so a wave is a few numbers changing over time rather than three pieces lined up by hand.


This early version is stiff: a part turns around its joint, but cannot bend smoothly the way skin does. That is the direction we want to go.

As always, let us know what you think on our Discord.

On this page

Formo

The browser studio where drawings become animations, toys, and games. Your files, nothing to install.