| UPrimitiveComponent::OverlapComponent()
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Components/PrimitiveComponent.h |
Include |
#include "Components/PrimitiveComponent.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Components/PrimitiveComponent.cpp |
virtual bool OverlapComponent
(
const FVector & Pos,
const FQuat & Rot,
const FCollisionShape & CollisionShape
)
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
Parameter |
Description |
---|---|
Pos |
Location to place PrimComp geometry at |
Rot |
Rotation of PrimComp geometry |
CollisionShape |
Shape of collision of PrimComp geometry |