文档

Unity Engine

Unity Engine

velocity

Gets the avatar velocity for the last evaluated frame.
阅读时间1 分钟最后更新于 1 天前

Definition

public Vector3 velocity { get; }

Remarks

Animator.applyRootMotion must be enabled for velocity to be calculated.