Returns true if the AABB overlaps with `b`
(i.e. they have at least one point in common).
If `includeBorders` is true, they will also be considered overlapping
if their borders touch, even without intersection.
Namespace:
Godot
Assembly:
GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax public bool Intersects(
AABB with,
bool includeBorders = false
)
Parameters
- with
- Type: GodotAABB
The other AABB to check for intersections with. - includeBorders (Optional)
- Type: SystemBoolean
Whether or not to consider borders.
Return Value
Type:
BooleanA bool for whether or not they are intersecting.
See Also