Tutorials

Hair physics

Hair that swings when the head moves: a warp per strand, a parameter per swing, and a physics group to drive it.

1. A sway parameter

Add a parameter Hair Front from -1 to 1, default 0, with keys at -1, 0 and 1.

2. A warp on the hair

Put the front hair strands under a warp (inside the head's warp, so they also turn with the head). At key 1, bend the bottom of the grid to the right with the roots kept still; at -1, to the left. Reflect mirrors one into the other.

3. The physics group

Open Modeling > Physics Settings… and Add… a group named Hair Front.

The Physics page with numbered labels: 1 the page's menus; 2 playlist and fading; 3 group: enable, add, duplicate; 4 input or Output settings; 5 physics model and pendulums; 6 pendulum preview; 7 the model, running
Model art by マパ*MAPA, used with permission.
  • Inputs: Angle X as Position X (effectiveness about 60), Angle Z as Angle (about 40).
  • Output: Hair Front from the last pendulum, Angle. With Auto Update the Output Maximum on, Output Max (%) shows how far the swing reaches.
  • Pendulums: two or three; longer Duration swings slower, lower Ease of swinging settles faster.
Output settings with numbered labels: 1 add, Delete, Auto Update the Output Maximum; 2 an output: pendulum, parameter, scale, maximum; 3 output buttons
Model art by マパ*MAPA, used with permission.

Watch the Pendulum preview while you move Angle X, or press Swing.

4. Try it

Turn on Physics and Follow in the toolbar and move the mouse around the canvas: the head follows it and the hair swings after. Export: the swing goes out in physics3.json.

Updated