FBoxSphereBounds::SpheresIntersect

Test whether the spheres from two BoxSphereBounds intersect/overlap.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Math/BoxSphereBounds.h

Include

#include "Math/BoxSphereBounds.h"

Syntax

static bool SpheresIntersect
(
    const FBoxSphereBounds & A,
    const FBoxSphereBounds & B,
    float Tolerance
)

Remarks

Test whether the spheres from two BoxSphereBounds intersect/overlap.

Returns

true if spheres intersect, false otherwise.

Parameters

Parameter

Description

A

First BoxSphereBounds to test.

B

Second BoxSphereBounds to test.

Tolerance

Error tolerance added to test distance.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss