Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


thisBody

The Rigidbody or ArticulationBody of the collider that received the Collision event (Read Only).
Read time 1 minuteLast updated 6 days ago

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
.