OvrAnimator

Subclass of Ovr.OvrNode

Description

This Node is used to manage the most common interactions with the Unity Animator Component.

This Over Component requires an Animator to be set up, see Unity Manual for more info.

Based on the action the Animator is required to perform, this component changes its behavior and requirements.

Action Types

The OVER SDK provides several ways to interact with the Unity Animator Component. A list is present in OvrAnimatorActionType.

Cross Fade

Creates a crossfade from the current Animator state to any other state using normalized times.

Fades the animation, with name "StateName", in over a period of "TransitionDuration" seconds and fades other animations out.

The OVER SDK provides two ways to achieve this: either via the State Name [CrossFadeString, accepting OvrString], or the Hash representation of said name [CrossFadeInt, accepting OvrInt].

Note: the following attributes are added to the existing ones from the super class OvrNode

Name
Type
Description

Animator

Unity Animator Component

State[Hash]Name

Name of the Animation State

TransitionDuration

Length of the transition

Layer

Layer

TimeOffset

Normalized time offset

TransitionTime

Normalized transition time

Set Layer Weight

Sets the weight of the layer at the given index.

Note: the following attributes are added to the existing ones from the super class OvrNode

Name
Type
Description

Animator

Unity Animator Component

ActionType

Action type [SetLayerWeight]

LayerIndex

Layer

Weight

Normalized time offset

Set Look At Position

Sets the look at position in OvrVector3.

Note: the following attributes are added to the existing ones from the super class OvrNode

Name
Type
Description

Animator

Unity Animator Component

LookAtPosition

Look at position

Set Target

Sets an AvatarTarget and a TNormalizedTime for the current state.

Note: the following attributes are added to the existing ones from the super class OvrNode

Name
Type
Description

Animator

Unity Animator Component

ActionType

Action type [SetTarget]

TargetIndex

The avatar body part queried.

TNormalizedTime

The current state Time.

Set Value

Sets the value of the given parameter. The value type will vary, based on the action selected.

Note: the following attributes are added to the existing ones from the super class OvrNode

Name
Type
Description

Animator

Unity Animator Component

ParameterName

Parameter name.

Value

Value to set.

Unity Action

Execute the assigned UnityAction. Use this Type to directly access the functions made available by Unity in the specific component.

Note: the following attributes are added to the existing ones from the super class OvrNode

Name
Type
Description

Animator

Unity Animator Component

ActionType

Action type [UnityAction]

UnityAction

UnityAction

UnityAction to be invoked