Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetGoalRotation(AvatarIKGoal)

Returns the rotation of this IK goal in world space.
Read time 1 minuteLast updated 10 days ago

Definition

public Quaternion GetGoalRotation(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.