Version: 1.8
LanguageEnglish
  • C#

MotionWarpTargetSettings

struct in UnityEngine

/

Implemented in:UnityEngine.AnimationModule

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Settings class for configuring offsets applied to motion warp targets.

Properties

positionOffsetThe position offset of the character's final position relative to the target, in the character's local space. Use this to adjust the alignment of the warped GameObject relative to the target at the end of the warp interval.
rotationOffsetThe rotation offset of the character's final position relative to the target, in the character's local space. Use this to adjust the alignment of the warped GameObject relative to the target at the end of the warp interval.

Constructors

MotionWarpTargetSettingsInitializes a new instance of the MotionWarpTargetSettings with default values.