기술 자료

Unity Engine

Download Unity

Unity Engine

targetPosition

Returns the position of the target specified by Animator.SetTarget.
읽는 시간 1분최근 업데이트: 4시간 전

Definition

public Vector3 targetPosition { get; }

Remarks

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