Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UPrimitiveComponent
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool ComponentOverlapComponent
(
UPrimitiveComponent* PrimComp, |
Test the collision of the supplied component at the supplied location/rotation, and determine if it overlaps this component. | Components/PrimitiveComponent.h | |
bool ComponentOverlapComponent
(
UPrimitiveComponent* PrimComp, |
Components/PrimitiveComponent.h |
ComponentOverlapComponent(class UPrimitiveComponent *, const FVector, const FQuat &, const FCollisionQueryParams &)
Description
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.
| Name | ComponentOverlapComponent |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/PrimitiveComponent.h |
| Include Path | #include "Components/PrimitiveComponent.h" |
bool ComponentOverlapComponent
(
class UPrimitiveComponent * PrimComp,
const FVector Pos,
const FQuat & Rot,
const FCollisionQueryParams & Params
)
true if PrimComp overlaps this component at the specified location/rotation
Parameters
| Name | Remarks |
|---|---|
| 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. |
ComponentOverlapComponent(class UPrimitiveComponent *, const FVector, const FRotator, const FCollisionQueryParams &)
| Name | ComponentOverlapComponent |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/PrimitiveComponent.h |
| Include Path | #include "Components/PrimitiveComponent.h" |
bool ComponentOverlapComponent
(
class UPrimitiveComponent * PrimComp,
const FVector Pos,
const FRotator Rot,
const FCollisionQueryParams & Params
)