otherBodyInstanceID
Instance ID of the second body in this contact pair.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.PhysicsModule
public int otherBodyInstanceID { get; }
Remarks
Note that this can be Rigidbody or ArticulationBody.