This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

AnimationHumanStream.GetGoalRotation

Declaration

public Quaternion GetGoalRotation(AvatarIKGoal index);

Parameters

index The AvatarIKGoal that is queried.

Returns

Quaternion The rotation of this IK goal.

Description

Returns the rotation of this IK goal in world space.

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