GetAABB()
Get the world AABB that bounds all the shapes attached to this body. If there are no shapes attached to the body then the returned AABB is empty and centered on the body origin.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Method
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public PhysicsAABB GetAABB()
Returns
Type | Description |
|---|---|
| PhysicsAABB | The world AABB that bounds all the shapes attached to this body. |