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.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
public PhysicsAABB GetAABB()
Returns
Type | Description |
|---|---|
| PhysicsAABB | The world AABB that bounds all the shapes attached to this body. |