Documentation

Unity Engine

Unity Engine

OtherBody

The second Rigidbody or ArticulationBody in the pair.
Read time 1 minuteLast updated a day ago

Definition

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.