ドキュメント

Unity Engine

Unity Engine

thisBody

The Rigidbody or ArticulationBody of the collider that received the Collision event (Read Only).
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
public Component thisBody { get; }

Remarks

The Rigidbody or ArticulationBody of the collider that received the Collision event. If the collider doesn't have a rigid or articulation body attached, this returns
null
.