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

AnimationHumanStream.GetGoalRotation

Switch to Manual
public Quaternion GetGoalRotation (AvatarIKGoal index);

Parameters

index@param goal Запрошенный AvatarIKGoal.

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.