Tools / Wobl / Wobl / Nodes

Wobl

A soft body that jiggles, simulated inside the rig.

Access
TumbleTrove+
Node version
1.1
Package
Wobl
Houdini
22.0+
What you can make with it

Overview

Wobl adds a soft body to the rig and simulates it every frame, as Vellum Solver does for Vellum's pieces. Set the piece up in SOPs: Wobl Configure fills a shape with tets and gives them a material, Wobl Follow Joints (or painting) says where it jiggles. Wire Configure's two outputs into Wobl's second and third inputs.

A strand (Wobl Configure's Type Strand, on a curve through joints that it names: a tail) drives those joints instead: each moves to its strand point and turns as its segment turned, so everything that reads the posed skeleton (the skinning) follows. The shape is not wrapped then; Target Shape and Mask Attribute are not used.

Each frame the piece follows the skin by Follow Strength, scaled per point by its Pin Scale Attribute, and the shape takes the jiggle by its mask: 0 keeps the skinned shape, 1 takes the sim's.

The simulation runs inside the rig, so it plays in Animate: it steps when you play forward, holds when you scrub back over simulated frames, and starts again when you jump back before them. An edit above Wobl rebuilds the rig and keeps the running sim (Keep Sim on Rebuild).

When the piece, its constraints, the shape or the skeleton change, Wobl bakes the piece into the character again (its skin weights, about a second); otherwise the bake is cached.

Parameters

Target Shape

The shape the piece carries.

Mask Attribute

A point float on the shape: how much of the sim each point takes. Where the shape has none, Wobl makes it from the piece's follow map (Wobl Follow Joints).

Follow Strength

How hard the piece follows the skin (N/m), times the Pin Scale Attribute.

Pin Scale Attribute

A point float on the piece: 1 follows, 0 free.

Simulation

Substeps, iterations, the start frame and what happens on a rig rebuild.

Collisions

Collide With Bones makes the bones from the joints Joints names solid, moved with the posed skeleton every frame (baked as <name>_col.shp). A strand stays its own radius off them (Wobl Configure's Root and Tip Radius). Leave out the joints the piece hangs from: a tail's root sits in the hips. Colliders Follow moves the Colliders input (a bowl, a floor) with a joint: every frame by the joint's motion from its rest pose, so a bowl you move in Animate takes the pieces with it. Self Collision (its own folder, the switch on its header) makes the piece collide with itself: separate pieces, a cloth with itself and (Tet Bodies Too) a tet body with itself; Collision Group and Collides With limit it to part of the piece, and the label beside each says what it matches. Show Collisions draws what touches what in Animate: red where the piece touches another piece, violet where it touches itself, amber where it touches a collider or the ground, the colliders as wires at the gap the points keep, and, if you ask for them, the Thickness shell and contact lines. Shape Bone Capsules puts a capsule along each bone, fitted to the rest shape round it (Radius Scale scales it). Body Shape uses the rest shape itself: per bone the rest shape moved rigidly with the bone, live within Reach times the bone's thickness round it, so a tail meets the leg's real surface. It is voxelised once (Grid cells along its longest side); a tail's own mesh (a piece of the skin of its own) is left out of it. A point that starts inside the body (a tail's root in the rump) is left inside it: the thigh does not push it out.

Overrides

Change a group of the piece while it plays, as Vellum's Constraint Property does: Stiffness, Damping and Follow Strength multiply the group's own, Rest Follows Pose sets it, Active 0 holds the group on the skin. Each row's value is a slider on the Sliders On control, so you key it in Animate; the solver applies it every frame without a rebuild. Groups are the piece's point groups (Wobl Configure's Piece Name is one); * is all of it.

Bake

The node bakes the piece once (its skin weights to the rest skeleton, solved on the piece's own tets: the points next to each bone are held to it and the rest is smoothed between them, the override masks). Cache the Bake keeps that in a file in Cache Folder (beside the scene by default), named by a hash of everything the bake reads, so opening the scene again skips it; any change to the piece, the rest shape, the skeleton or a bake parameter bakes into a new file. Re-bake deletes this node's file and bakes again. WOBL_BAKE_CACHE=0 turns the cache off everywhere.

Inputs and outputs

Inputs

Character

The character stream.

Piece

Wobl Configure's first output (after Wobl Follow Joints or painting).

Constraints

Wobl Configure's second output.

Version notes

  • Wobl leaves TumbleRig: it is its own package now (tumblehead/wobl)
  • Wobl: Gravity Compensation's frame per region of the pins (Compensation Frame: Local)
  • Wobl nodes: Update Mode (package 2) on Wobl and Wobl (KineFX)
  • Wobl nodes: new nodes have Gravity on with Gravity Compensation 1 (the user's pick, package 5)
  • Wobl solver: Gravity Compensation (package 5): pinned pieces hold their sculpted shape under gravity and sag as they turn
  • Wobl nodes: Follow Set By (Frequency, the default, or Strength), Follow Frequency 20 Hz, Follow Damping (package 4, the user's pick A)
  • Wobl: Body Shape is Collide With Bones' default Shape (the user's pick)
  • Wobl round 16: Collide With Bones Body Shape (a tail meets the legs' real skin)
  • Wobl round 16: strand collisions (Collide With Bones), a point's own radius
  • Wobl: strands default to 10 iterations (the tail's solve 2.9 -> 1.7 ms)
  • Wobl (APEX rig node): a strand drives its joints in the rig graph (a tail)
  • Wobl icons: the logo on the node, variations for the SOPs