Repository navigation
Secondary Motion
Spring chains make hair, tails, ears and cloth lag and swing behind the body. The Secondary motion section is at the bottom of the Controls tab. The behaviour follows the VRMC_springBone 1.0 specification, so the result exports to VRM and is what a VRM viewer will show.
| From | Use for | Result |
|---|---|---|
| Joints | joints that already exist | a chain from a root joint down the deepest branch, or to a named tip |
| A mesh part | a ponytail, a tail, a skirt as a separate piece | new joints along the part, with the part's skin weights blended onto them |
For a part, pick the mesh and component (the numbers match the Skin tab; a hair, tail or cloth part is preselected when found). The root end is the end of the part nearest the attach joint, which is the joint carrying most of the part's weight. Joints sit along the curve of the part, and weights blend along it, staying rigid within half a segment of the root. Remove deletes the chain; for a part chain it also removes the joints and hands their weights to the nearest surviving parent.
Stiffness, drag, gravity power, gravity direction and hit radius are set per chain with sliders (the chain mean is shown; each release is one undo step). Units follow the VRM specification literally: stiffness and gravity are metres per second times the time step, so stiffness 1 on a 6 cm bone is a strong spring. Defaults: chains from joints use stiffness 1.0, drag 0.4 and no gravity; chains from a part use 0.6, 0.35 and gravity 0.25. If joints jitter a few degrees at rest, lower the stiffness.
Colliders are spheres or capsules on a joint, grouped into collider groups that a chain collides with. Auto colliders places capsules on the head, neck, spine joints and upper arms, sized from the skin vertices (low percentiles, so a capsule stays inside the skin). Hair, lash, brow, beard and fur meshes are ignored. Colliders can be shown as wires in the viewport.
A skirt or cape needs neighbouring chains to stay together. A grid links the tails of equal level across neighbouring chains with a distance constraint taken from the rest pose, solved level by level. In the Cloth grids block set Columns (3 to 48, default 12) and Rows (2 to 24, default 5), choose a mesh part and press Add from part: FormRig builds that many chains around the vertical axis, binds the part to them, and adds one spring per column and the grid (Loop around, on by default, links the last column to the first). Each grid shows its chain and link counts. The link count is the same wherever the grid came from (Add from part, a grid made by an agent, or the saved state): 12 columns by 8 rows gives 96 sideways links, 12 per level over 8 levels. While the simulation steps, extra passes run on demand, up to 16, until the sideways spread falls under 3.5 percent; on the Xbot skirt the peak sideways spacing stayed between 2.5 and 3.5 percent through every clip (it reached 6.8 percent before). Check a grid runs a standard sway, turn and hop and fits stiffness and drag of each column as an independent chain; the list shows the error of each column as a share of the chain length, and marks a column above 10 percent. Apply writes the fitted values to the column springs. Chains outside a grid behave exactly as before.
VRM has no sideways links. Each column is exported as its own chain, and the pane says so: Sideways links are not kept in VRM files. Each column becomes its own chain. The Check error shows how much that costs. Each grid row also shows the warning the export would carry, such as "12 sideways links are not kept in VRM, each column runs as its own chain" followed by a hint to fit the columns; agents read the same strings as gridWarnings in the VRM state (under source for VRM 0.x). Ten VRM files written with skirt grids (VRM 1.0 and 0.x) all loaded in three-vrm 3.5.5 with 55 bones and finite positions.
A jiggle bone is a one-bone spring that may also stretch and squash within limits, for breasts, a belly or cheeks. Pick a Joint and a Preset (Chest, Belly, Cheek or Custom) and press Add; a tail joint is added when the joint has no child. Remove deletes it. Stretch shows as scale on the joint in the live preview.
Check reports the PhysBones budget: at most 128 transforms per component and 4 global colliders. It says Within the limits, or Over the limits with the chains that go over.
Live preview steps the simulation while you pose or play. It runs for 2.5 seconds after the last pose change, uses the wall clock for the time step (capped at 1/15 s), and keeps the chain state when you move a slider, so the motion does not reset. Reset forgets the state. The simulation state is not saved in the project.
VRM 1.0 and 0.x write the chains and colliders as spring bones. A chain is cut where a joint is not below the one before, a chain needs at least two joints, and chains may not share nodes. VRM 0.x writes one bone group per chain with the mean settings and turns capsules into rows of spheres.
The PhysBones parameter map is a heuristic table for VRChat (pull, spring, momentum, stiffness, gravity). Its numeric ranges are not documented by VRChat, so treat the values as a starting point.
- Bone lines in the viewport do not follow spring joints in pose mode, only while a clip is active.
- Making a grid from chains you choose is available to agents (
spring.grid.add) but not in the window. - Per-chain collider group assignment in the window is not built.