velocity
Gets the avatar velocity for the last evaluated frame.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.AnimationModule
public Vector3 velocity { get; }
Remarks
Animator.applyRootMotion must be enabled for velocity to be calculated.