ParelVRDocs
Player site

Creators / Avatars

Motion Bones

Hair, tails, ears and clothes that swing, bounce and collide.

Adding one#

  1. Select the bone where the chain starts (for example the first hair bone), or set Root Transform.
  2. Add Component > ParelVR > Avatar SDK > Motion Bone.
  3. Apply Preset... picks good starting values: Hair, Long Hair, Tail, Ears, Clothing, Accessory, Soft Body or Jiggle (loose and bouncy inside a 35° Angle limit; keep a Limit on jiggly parts, since with Limit Type None a hard pull or sudden stop can fold the bone). Select several Motion Bones to apply one preset to all of them.

The main settings#

Setting What it changes
Pull How strongly bones return to their rest pose.
Spring How much bones wobble.
Stiffness How much bones keep their rest angle (Advanced integration).
Gravity, Gravity Falloff How much the chain hangs, and less for bones already hanging down.
Immobile How much of the avatar's own movement is ignored.
Limit Type, Max Angle How far bones may swing: a cone, a hinge or a polar limit.
Radius, Colliders The size of each bone and what it bumps into.
Max Stretch, Max Squish How much the chain may grow or shrink.
Allow Grabbing, Allow Posing Whether players can grab the chain, and leave it posed.
Parameter A prefix for parameters that tell your animator when it is grabbed, posed or stretched.

Most settings take a curve to vary them along the chain. Ignore Transforms leaves bones out of the chain.

Colliders#

Add Motion Bone Collider to bones the chain should not pass through (head, chest, legs) and add them to the Motion Bone's colliders. Hand and finger colliders let players touch your hair.

Different behaviour while moving#

Animate a Motion Bone's force settings from your FX controller to make it behave differently when idle, walking or falling. Animator transitions blend between them.

Things to avoid#

The inspector and the Builder warn you about these:

  • a chain that moves humanoid bones (it fights animation and IK);
  • two Motion Bones moving the same bones;
  • a root transform outside the avatar;
  • empty collider slots and colliders with no radius.

In play mode#

The inspector shows a Runtime section with the chain's state and bone count, plus Reset Simulation and Clear Pose. Players can reset everything on their avatar with Reset Poses in the radial menu.

Every field is listed in Motion Bones and Contacts.