Documentation

Unity Engine


Unity Engine


GetGoalLocalRotation(AvatarIKGoal)

Returns the rotation of this IK goal relative to the root.
Read time 1 minuteLast updated a month ago

Definition

public Quaternion GetGoalLocalRotation(AvatarIKGoal index)

Parameters

The AvatarIKGoal that is queried.

Returns

Type

Description

QuaternionThe rotation of this IK goal.

Remarks

Some playable like AnimationClipPlayable can generate IK goals. This function can be used to retrieve goal generate from a previous playable in the graph.