targetRotation
Returns the rotation of the target specified by Animator.SetTarget.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.AnimationModule
public Quaternion targetRotation { get; }
Remarks
The rotation is only valid when a frame is being evaluated after the Animator.SetTarget call. Animator.applyRootMotion must be enabled for targetRotation to be calculated.