Navigation
Unreal Engine C++ API Reference > Runtime > Chaos > Chaos
References
Module | Chaos |
Header | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Utilities.h |
Include | #include "Chaos/Utilities.h" |
namespace Chaos
{
namespace Utilities
{
template<typename T>
bool Chaos&58;&58;Utilities&58;&58;IntersectLineSegments2D
&40;
const TVec2< T > & InStartA,
const TVec2< T > & InEndA,
const TVec2< T > & InStartB,
const TVec2< T > & InEndB,
T & OutTA,
T & OutTB
&41;
}
}
Remarks
Detects intersections between 2D line segments, returns intersection results as times along each line segment - these times can be used to calculate exact intersection locations