Get Surface Type At Location
CallableGetSurfaceTypeAtLocationTraces downward at a location to determine the physical surface type.
Type: Callable (has execution pins)
Category: Fortuna|Gameplay Utilities
Keywords: gameplay utilities
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| WorldContext | UObject* | — | WorldContext parameter |
| Location | FVector | — | Location parameter |
| TraceLength | float | 200 | TraceLength parameter |
Outputs
| Name | Type | Description |
|---|---|---|
| SurfaceType | EPhysicalSurface | SurfaceType output |
| bHit | bool | bHit output |
Example Use Cases
Example 1
Play footstep sounds based on surface material.
Example 2
Determine what particle effect to spawn on bullet impact.