Get Height Above Ground

Callable
GetHeightAboveGround

Traces downward to find the ground and returns the height above it.

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

Inputs

NameTypeDefaultDescription
WorldContextUObject*WorldContext parameter
LocationFVectorLocation parameter
MaxTraceLengthfloat10000MaxTraceLength parameter

Outputs

NameTypeDescription
HeightfloatHeight output
bGroundFoundboolbGroundFound output
GroundLocationFVectorGroundLocation output

Example Use Cases

Example 1

Determine if a character is airborne.

Example 2

Calculate fall damage based on height.