기술 자료

Unity Engine

Unity Engine

OtherBody

The second Rigidbody or ArticulationBody in the pair.
읽는 시간 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.