Skip to main content

Animation

info

These docs were last updated for ValenCommons 2.10.0.

ComponentBehavior
Animator ToggleToggles a local Animator boolean on interaction or _Toggle().
Synced Animator ToggleSynchronizes the boolean state for all users.
Trigger Animator ToggleToggles a boolean when a player enters the attached trigger. Work For All Players chooses between any player and the local player only.
Animator ActivatorSets a boolean from the active state of the component's GameObject.
Distance Animator TriggerDrives a float from the local user's distance to Target Transform.

For the distance component, the parameter is 1 at Max Distance or closer and 0 at Min Distance or farther, with a value between them.

All components require the target Animator and exact parameter name.