MCPcopy Create free account
hub / github.com/PCGEx/PCGExtendedToolkit / SphereOverlap

Function SphereOverlap

Source/PCGExtendedToolkit/Private/PCGExMath.cpp:127–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125 }
126
127 bool SphereOverlap(const FSphere& S1, const FSphere& S2, double& OutOverlap)
128 {
129 OutOverlap = (S1.W + S2.W) - FVector::Dist(S1.Center, S2.Center);
130 return OutOverlap > 0;
131 }
132
133 bool SphereOverlap(const FBoxSphereBounds& S1, const FBoxSphereBounds& S2, double& OutOverlap)
134 {

Callers 2

ResolveOverlapMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected