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

AnimationHumanStream.GetGoalPosition

Switch to Manual
public Vector3 GetGoalPosition (AvatarIKGoal index);

Parameters

index所查询的 AvatarIKGoal。

Returns

Vector3 The position of this IK goal.

Description

Returns the position 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.