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