ドキュメント

Unity Engine

Unity Engine

bodyLinearVelocity

Linear velocity of the first Rigidbody or the ArticulationBody in the pair at the moment of collision.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

Remarks

Returns Vector3.zero if no Rigidbody or ArticulationBody is attached to the first shape in the pair.