Skip to content

PhysicsBodyComponent.TryGetAABB(Vector2, Vector2) Method

Definition

Namespace: Brine2D.ECS.Components

Computes the world-space axis-aligned bounding box that encloses all shapes on this body. Returns false if the body has not yet been created by the physics system.

C#
public bool TryGetAABB(out System.Numerics.Vector2 min, out System.Numerics.Vector2 max);

Parameters

min System.Numerics.Vector2

max System.Numerics.Vector2

Returns

System.Boolean