Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Engine > UWorld > ComponentOverlapMulti
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Engine/World.h |
Include | #include "Engine/World.h" |
bool ComponentOverlapMulti
&40;
TArray< struct FOverlapResult > & OutOverlaps,
const class UPrimitiveComponent &42; PrimComp,
const FVector & Pos,
const FRotator & Rot,
const FComponentQueryParams & Params,
const FCollisionObjectQueryParams & ObjectQueryParams
&41; const
Remarks
Test the collision of the supplied component at the supplied location/rotation using object types, and determine the set of components that it overlaps
The overload taking rotation as an FQuat is slightly faster than the version using FRotator (which will be converted to an FQuat).. TRUE if any hit is found
Parameters
Name | Description |
---|---|
OutOverlaps | Array of overlaps found between component in specified pose and the world |
PrimComp | Component's geometry to test against the world. Transform of this component is ignored |
Pos | Location of PrimComp geometry for test against the world |
Rot | Rotation of PrimComp geometry for test against the world |
ObjectQueryParams | List of object types it's looking for. When this enters, we do object query with component shape |