Is Line Of Sight Clear

Callable
IsLineOfSightClear

Performs 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

NameTypeDefaultDescription
WorldContextUObject*WorldContext parameter
StartFVectorStart parameter
EndFVectorEnd parameter
IgnoreActorsTArray<AActor*>IgnoreActors parameter
TraceChannelECollisionChannelVisibilityTraceChannel parameter

Outputs

NameTypeDescription
ReturnValueboolReturnValue output

Example Use Cases

Example 1

Check if an AI can see the player.

Example 2

Determine if a projectile path is obstructed.