Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

ModifiableContactPair.otherBodyInstanceID

public int otherBodyInstanceID;

Description

Instance ID of the second body in this contact pair.

Note that this can be Rigidbody or ArticulationBody.