Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/PhysicsEngine > API/Runtime/Engine/PhysicsEngine/UClusterUnionComponent > API/Runtime/Engine/PhysicsEngine/UClusterUnionComponent/OverlapComponent-
- UPrimitiveComponent::OverlapComponentWithResult()
- UClusterUnionComponent::OverlapComponentWithResult()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/PhysicsEngine/ClusterUnionComponent.h |
| Include | #include "PhysicsEngine/ClusterUnionComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/PhysicsEngine/ClusterUnionComponent.cpp |
virtual bool OverlapComponentWithResult
(
const FVector & Pos,
const FQuat & Rot,
const FPhysicsGeometry & Geometry,
ECollisionChannel TraceChannel,
const struct FCollisionQueryParams & Params,
const struct FCollisionResponseParams & ResponseParams,
const struct FCollisionObjectQueryParams & ObjectParams,
TArray < FOverlapResult > & OutOverlap
) const
Remarks
Test the collision of the supplied shape at the supplied location, and determine if it overlaps this component. Also will return information about the overlap. true if PrimComp overlaps this component at the specified location/rotation
Parameters
| Name | Description |
|---|---|
| Pos | Location to place PrimComp geometry at |
| Rot | Rotation of PrimComp geometry |
| Geometry | Geometry to use for the overlap check. |
| TraceChannel | The 'channel' that this query is in, used to determine which components to hit |
| Params | Additional parameters used for the trace |
| ResponseParam | ResponseContainer to be used for this trace |
| ObjectQueryParams | List of object types it's looking for |
| OutOverlap | Additional information about what exactly was overlapped. |