跳转到内容

AnimatorRootMotionData

此内容尚不支持你的语言。

Defined in: animation/animatorRootMotion.ts:30

The fields of the AnimatorRootMotion component.

active: boolean

Defined in: animation/animatorRootMotion.ts:38

Engine-written: whether a state that DECLARES root motion is driving this frame. The switch a consumer reads — not “is the delta non-zero”, which is also true of the still moment in the middle of a dodge.


deltaPosition: Vec3

Defined in: animation/animatorRootMotion.ts:40

Engine-written: the displacement asked for, in world space.


deltaRotation: Quat

Defined in: animation/animatorRootMotion.ts:42

Engine-written: the turn asked for, in the character’s own frame.


deltaTime: number

Defined in: animation/animatorRootMotion.ts:44

Engine-written: seconds the deltas cover; 0 when nothing was asked.


enabled: boolean

Defined in: animation/animatorRootMotion.ts:32

Whether the animator publishes this entity’s root motion at all.