Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


otherBodyInstanceID

Obsolete. Use otherBodyEntityId instead.
Read time 1 minuteLast updated 10 days 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.