Get Surface Type At Location

Callable
GetSurfaceTypeAtLocation

Traces downward at a location to determine the physical surface type.

Type: Callable (has execution pins)
Category: Fortuna|Gameplay Utilities
Keywords: gameplay utilities

Inputs

NameTypeDefaultDescription
WorldContextUObject*WorldContext parameter
LocationFVectorLocation parameter
TraceLengthfloat200TraceLength parameter

Outputs

NameTypeDescription
SurfaceTypeEPhysicalSurfaceSurfaceType output
bHitboolbHit output

Example Use Cases

Example 1

Play footstep sounds based on surface material.

Example 2

Determine what particle effect to spawn on bullet impact.