Documentation

Unity Engine

Unity Engine

OtherCollider

The second Collider component of the ContactPair.
Read time 1 minuteLast updated 2 months ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
Warning
Deprecated. Please use ContactPair.otherCollider instead.
public Collider OtherCollider { get; }

Remarks

This property is only accessible from the main thread.