UCharacterMovementComponent::K2_GetWalkableFloorZ

Get the Z component of the normal of the steepest walkable surface for the character.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/CharacterMovementComponent.h

Include

#include "GameFramework/CharacterMovementComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/CharacterMovementComponent.cpp

Syntax

float K2_GetWalkableFloorZ() const

Remarks

Get the Z component of the normal of the steepest walkable surface for the character. Any lower than this and it is not walkable.