unreal.WalkableSlopeBehavior

class unreal.WalkableSlopeBehavior

Bases: unreal.EnumBase

Controls behavior of WalkableSlopeOverride, determining how to affect walkability of surfaces for Characters. see: FWalkableSlopeOverride see: UCharacterMovementComponent::GetWalkableFloorAngle(), UCharacterMovementComponent::SetWalkableFloorAngle()

C++ Source:

  • Module: Engine

  • File: EngineTypes.h

WALKABLE_SLOPE_DECREASE

Decrease walkable slope. Makes it harder to walk up a surface, by restricting traversal to lower-than-usual angles. see: FWalkableSlopeOverride::WalkableSlopeAngle

Type

2

WALKABLE_SLOPE_DEFAULT

Don’t affect the walkable slope. Walkable slope angle will be ignored.

Type

0

WALKABLE_SLOPE_INCREASE

Increase walkable slope. Makes it easier to walk up a surface, by allowing traversal over higher-than-usual angles. see: FWalkableSlopeOverride::WalkableSlopeAngle

Type

1

WALKABLE_SLOPE_UNWALKABLE

Make surface unwalkable. Note: WalkableSlopeAngle will be ignored.

Type

3