Documentation

Unity Engine

Download Unity

Unity Engine

bodyInstanceID

Obsolete. Use bodyEntityId instead.
Read time 1 minuteLast updated 2 months 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.