Documentation

Unity Engine


Unity Engine


otherBodyInstanceID

Obsolete. Use otherBodyEntityId instead.
Read time 1 minuteLast updated a month ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
Warning
Removed. otherBodyInstanceID is deprecated, use otherBodyEntityId instead.
public int otherBodyInstanceID { get; }

Remarks

Instance ID of the second body in this contact pair. Note that this can be Rigidbody or ArticulationBody.