Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Kismet > UKismetSystemLibrary
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Kismet/KismetSystemLibrary.h |
Include | #include "Kismet/KismetSystemLibrary.h" |
Source | /Engine/Source/Runtime/Engine/Private/KismetSystemLibrary.cpp |
static bool CapsuleOverlapActors
&40;
const UObject &42; WorldContextObject,
const FVector CapsulePos,
float Radius,
float HalfHeight,
const TArray< TEnumAsByte< EObjectTypeQuery > > & ObjectTypes,
UClass &42; ActorClassFilter,
const TArray< AActor &42; > & ActorsToIgnore,
TArray< class AActor &42; > & OutActors
&41;
Remarks
Returns an array of actors that overlap the given capsule. true if there was an overlap that passed the filters, false otherwise.
Parameters
Name | Description |
---|---|
WorldContext | World context |
CapsulePos | Center of the capsule. |
Radius | Radius of capsule hemispheres and radius of center cylinder portion. |
HalfHeight | Half-height of the capsule (from center of capsule to tip of hemisphere. |
Filter | Option to restrict results to only static or only dynamic. For efficiency. |
ClassFilter | If set, will only return results of this class or subclasses of it. |
ActorsToIgnore | Ignore these actors in the list |
OutActors | Returned array of actors. Unsorted. |