Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


OtherBody

The second Rigidbody or ArticulationBody in the pair.
Read time 1 minuteLast updated 9 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
Warning
Deprecated. Please use ContactPairHeader.otherBody instead.
public Component OtherBody { get; }

Remarks

Use with the
as
keyword to determine the actual type of the component.