Navigation
Unreal Engine C++ API Reference > Runtime > Core > Math > FMath
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Math/UnrealMathUtility.h |
Include | #include "Math/UnrealMathUtility.h" |
Source | /Engine/Source/Runtime/Core/Private/Math/UnrealMath.cpp |
static bool SphereConeIntersection
&40;
const FVector & SphereCenter,
float SphereRadius,
const FVector & ConeAxis,
float ConeAngleSin,
float ConeAngleCos
&41;
Remarks
Assumes the cone tip is at 0,0,0 (means the SphereCenter is relative to the cone tip) true: cone and sphere do intersect, false otherwise