Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


bodyInstanceID

Instance ID of the first body in this contact pair.
Read time 1 minuteLast updated 9 days ago

Definition

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

Remarks

Note that this can be Rigidbody or ArticulationBody.