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