unreal.WalkableSlopeBehavior

class unreal.WalkableSlopeBehavior

Bases: 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: WalkableSlopeBehavior

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: WalkableSlopeBehavior

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

Type:

0

WALKABLE_SLOPE_INCREASE: WalkableSlopeBehavior

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: WalkableSlopeBehavior

Make surface unwalkable. Note: WalkableSlopeAngle will be ignored.

Type:

3