ドキュメント

Unity Engine

Unity Engine

bodyInstanceID

Instance ID of the first body in this contact pair.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
public int bodyInstanceID { get; }

Remarks

Note that this can be Rigidbody or ArticulationBody.