GetGoalRotation(AvatarIKGoal)
Returns the rotation of this IK goal in world space.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Animations
- Assembly: UnityEngine.AnimationModule
public Quaternion GetGoalRotation(AvatarIKGoal index)
Parameters
The AvatarIKGoal that is queried.
Returns
Type | Description |
|---|---|
| Quaternion | The 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.