Language:
Discover
By Skill Level
By Category

ACharacter::OnLanded

Choose your OS:

Syntax

void OnLanded
(
    const FHitResult & Hit
)

Remarks

Called upon landing when falling, to perform actions based on the Hit result. Note that movement mode is still "Falling" during this event. Current Velocity value is the velocity at the time of landing. Consider OnMovementModeChanged() as well, as that can be used once the movement mode changes to the new mode (most likely Walking).

Parameters

Parameter

Description

Hit

Result describing the landing that resulted in a valid landing spot.

See Also

References

Module

Engine

Header

Runtime/Engine/Classes/GameFramework/Character.h