ドキュメント

Unity Engine

Unity Engine

OtherBody

The second Rigidbody or ArticulationBody in the pair.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

Remarks

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