Navigation
Unreal Engine C++ API Reference > Runtime > PhysicsCore > TBPVisitor
- ISpatialVisitor::Sweep()
- TBPVisitor::Sweep()
References
Module | PhysicsCore |
Header | /Engine/Source/Runtime/PhysicsCore/Public/SQVisitor.h |
Include | #include "SQVisitor.h" |
virtual bool Sweep
&40;
const Chaos::TSpatialVisitorData< TPayload > & Instance,
Chaos::FQueryFastData & CurData
&41;
Remarks
Called whenever an instance in the acceleration structure may intersect with a sweep - the instance we are potentially intersecting with a sweep - the length all future intersection tests will use. A blocking intersection should update this Returns true to continue iterating through the acceleration structure