Experimental: this API is experimental and might be changed or removed in the future.

AnimationHumanStream.GetGoalLocalRotation

public Quaternion GetGoalLocalRotation(AvatarIKGoal index);

Parameters

indexThe AvatarIKGoal that is queried.

Returns

Quaternion The rotation of this IK goal.

Description

Returns the rotation of this IK goal relative to the root.

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

Did you find this page useful? Please give it a rating: