Is Line Of Sight Clear
CallableIsLineOfSightClearPerforms a line trace to check if there is a clear line of sight between two points.
Type: Callable (has execution pins)
Category: Fortuna|Gameplay Utilities
Keywords: gameplay utilities
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| WorldContext | UObject* | — | WorldContext parameter |
| Start | FVector | — | Start parameter |
| End | FVector | — | End parameter |
| IgnoreActors | TArray<AActor*> | — | IgnoreActors parameter |
| TraceChannel | ECollisionChannel | Visibility | TraceChannel parameter |
Outputs
| Name | Type | Description |
|---|---|---|
| ReturnValue | bool | ReturnValue output |
Example Use Cases
Example 1
Check if an AI can see the player.
Example 2
Determine if a projectile path is obstructed.