Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Components/PrimitiveComponent.h |
Include |
#include "Components/PrimitiveComponent.h" |
bool ComponentOverlapComponent
(
class UPrimitiveComponent * PrimComp,
const FVector Pos,
const FQuat & Rot,
const FCollisionQueryParams & Params
)
Test the collision of the supplied component at the supplied location/rotation, and determine if it overlaps this component.
This overload taking rotation as a FQuat is slightly faster than the version using FRotator.
This simply calls the virtual ComponentOverlapComponentImpl() which can be overridden to implement custom behavior.
true if PrimComp overlaps this component at the specified location/rotation
Parameter |
Description |
---|---|
PrimComp |
Component to use geometry from to test against this component. Transform of this component is ignored. |
Pos |
Location to place PrimComp geometry at |
Rot |
Rotation to place PrimComp geometry at |
Params |
Parameter for trace. TraceTag is only used. |