UCharacterMovementComponent::SetWalkableFloorAngle

Set the max angle in degrees of a walkable surface for the character. Also computes WalkableFloorZ.

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

void SetWalkableFloorAngle
(
    float InWalkableFloorAngle
)

Remarks

Set the max angle in degrees of a walkable surface for the character. Also computes WalkableFloorZ.