文档

Unity Engine

Unity Engine

linearVelocity

Linear velocity of the body defined in world space.
阅读时间1 分钟最后更新于 1 个月前

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).