Documentation

Unity Engine


Unity Engine


linearVelocity

Linear velocity of the body defined in world space.
Read time 1 minuteLast updated a month ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
public Vector3 linearVelocity { get; set; }

Remarks

Setting a specific velocity only affects the root articulation body.
Unit of measurement - m/s (meters per second).