ParelVRDocs
Player site

Creators / Component reference

Animator behaviours

State machine behaviours you add to states in an avatar's animator controllers.

Avatar Parameter Driver#

ParelAvatarParameterDriver

When its state is entered, sets / adds to / randomizes / copies avatar parameters. By default it runs only for the avatar's wearer (Local Only) and the results reach everyone else through parameter sync.

Field Type Description
Parameters List<Parameter>
Local Only bool Only run for the avatar's wearer (synced results still reach everyone).
Debug String string Logged to the console each time this driver runs (handy while building).

Animator Tracking Control#

ParelAnimatorTrackingControl

Switches body parts between full tracking (your headset, controllers and trackers drive them) and animation (the playable layers drive them) -- used by emotes, sitting poses, custom hand poses and face animations.

Field Type Description
Tracking Head TrackingType
Tracking Left Hand TrackingType
Tracking Right Hand TrackingType
Tracking Hip TrackingType
Tracking Left Foot TrackingType
Tracking Right Foot TrackingType
Tracking Left Fingers TrackingType
Tracking Right Fingers TrackingType
Tracking Eyes TrackingType
Tracking Mouth TrackingType
Debug String string Logged to the console each time this state is entered (handy while building).

Animator Locomotion Control#

ParelAnimatorLocomotionControl

Stops (or restores) the wearer's movement.

Field Type Description
Disable Locomotion bool True: the wearer can't walk while this state is active. False: movement comes back.
Debug String string Logged to the console each time this state is entered (handy while building).

Animator Layer Control#

ParelAnimatorLayerControl

Blends one layer (by index) inside a playable layer's controller.

Field Type Description
Playable ParelBlendableLayer
Layer int Index of the layer inside that playable layer's animator controller.
Goal Weight float
Blend Duration float Seconds to reach the goal weight (0 = instantly).
Debug String string Logged to the console each time this state is entered (handy while building).

Playable Layer Control#

ParelPlayableLayerControl

Blends a whole playable layer's weight (usually the Action layer in at the start of an emote and back out at the end).

Field Type Description
Layer ParelBlendableLayer
Goal Weight float
Blend Duration float Seconds to reach the goal weight (0 = instantly).
Debug String string Logged to the console each time this state is entered (handy while building).

Animator Temporary Pose Space#

ParelAnimatorTemporaryPoseSpace

Moves the wearer's view to where the animated head is (for lying-down / sitting emotes), or back to normal.

Field Type Description
Enter Pose Space bool True: move the view to the animated head. False: return to the normal view.
Fixed Delay bool True: Delay Time is in seconds. False: it's the state's normalized time (0-1).
Delay Time float
Debug String string Logged to the console each time this state is entered (handy while building).

Animator Play Audio#

ParelAnimatorPlayAudio

Plays (or stops) clips on one of the avatar's AudioSources when its state is entered or exited, with random / round-robin / parameter-chosen clips.

Field Type Description
Source Path string Path of the AudioSource's object, relative to the avatar root (empty = the root).
Clips AudioClip[]
Playback Order Order
Parameter Name string Parameter order: the parameter holding the clip index.
Volume Vector2
Pitch Vector2
Loop bool
Clips Apply Settings ApplySettings
Volume Apply Settings ApplySettings
Pitch Apply Settings ApplySettings
Loop Apply Settings ApplySettings
Stop On Enter bool
Play On Enter bool
Stop On Exit bool
Play On Exit bool
Delay In Seconds float Seconds to wait before playing.
Debug String string Logged to the console each time this state is entered (handy while building).