Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


velocity

Gets the avatar velocity for the last evaluated frame.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AnimationModule
public Vector3 velocity { get; }

Remarks

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