Animator.targetRotation

Switch to Manual
public Quaternion targetRotation;

Description

Returns the rotation of the target specified by SetTarget.

The rotation is only valid when a frame is being evaluated after the SetTarget call. Animator.applyRootMotion must be enabled for targetRotation to be calculated.


Did you find this page useful? Please give it a rating: