Filter Actors By Line Of Sight
CallableFilterActorsByLOSFilters an array of actors into those visible and those hidden from a point.
Type: Callable (has execution pins)
Category: Fortuna|Gameplay Utilities
Keywords: gameplay utilities
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| WorldContext | UObject* | — | WorldContext parameter |
| Origin | FVector | — | Origin parameter |
| Actors | TArray<AActor*> | — | Actors parameter |
| TraceChannel | ECollisionChannel | Visibility | TraceChannel parameter |
Outputs
| Name | Type | Description |
|---|---|---|
| VisibleActors | TArray<AActor*> | VisibleActors output |
| HiddenActors | TArray<AActor*> | HiddenActors output |
Example Use Cases
Example 1
AI determining which enemies it can currently see.
Example 2
Highlight only visible interactables for the player.