Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/UPrimitiveComponent > API/Runtime/Engine/Components/UPrimitiveComponent/OverlapComponent
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/PrimitiveComponent.h |
| Include | #include "Components/PrimitiveComponent.h" |
virtual bool OverlapComponent
(
const FVector & Pos,
const FQuat & Rot,
const FCollisionShape & CollisionShape
)
Remarks
Test the collision of the supplied shape at the supplied location, and determine if it overlaps this component. 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 |
| CollisionShape | Shape of collision of PrimComp geometry |