文档

Unity Engine

Unity Engine

otherBodyAngularVelocity

Angular velocity of the second Rigidbody or the ArticulationBody in the pair at the moment of collision.
阅读时间1 分钟最后更新于 21 天前

Definition

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

Remarks

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