Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


bodyInstanceID

Obsolete. Use bodyEntityId instead.
Read time 1 minuteLast updated 6 days ago

Definition

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

Remarks

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