Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Engine > API/Runtime/Engine/Engine/UWorld
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Engine/World.h |
| Include | #include "Engine/World.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Collision/WorldCollision.cpp |
bool OverlapAnyTestByProfile
&40;
const FVector & Pos,
const FQuat & Rot,
FName ProfileName,
const FCollisionShape & CollisionShape,
const FCollisionQueryParams & Params
&41; const
Remarks
Test the collision of a shape at the supplied location using a specific profile, and return if any blocking or overlap is found TRUE if any blocking or overlapping results are found
Parameters
| Name | Description |
|---|---|
| Pos | Location of center of box to test against the world |
| ProfileName | The 'profile' used to determine which components to hit |
| CollisionShape | CollisionShape - supports Box, Sphere, Capsule |
| Params | Additional parameters used for the trace |