unreal.WalkableSlopeOverride

class unreal.WalkableSlopeOverride(walkable_slope_behavior=WalkableSlopeBehavior.WALKABLE_SLOPE_DEFAULT, walkable_slope_angle=0.0)

Bases: unreal.StructBase

Struct allowing control over “walkable” normals, by allowing a restriction or relaxation of what steepness is normally walkable.

C++ Source:

  • Module: Engine

  • File: EngineTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • walkable_slope_angle (float): [Read-Write] Walkable Slope Angle: Override walkable slope angle (in degrees), applying the rules of the Walkable Slope Behavior. see: GetWalkableSlopeAngle(), SetWalkableSlopeAngle()

  • walkable_slope_behavior (WalkableSlopeBehavior): [Read-Write] Walkable Slope Behavior: Behavior of this surface (whether we affect the walkable slope). see: GetWalkableSlopeBehavior(), SetWalkableSlopeBehavior()

property walkable_slope_angle

[Read-Write] Walkable Slope Angle: Override walkable slope angle (in degrees), applying the rules of the Walkable Slope Behavior. see: GetWalkableSlopeAngle(), SetWalkableSlopeAngle()

Type

(float)

property walkable_slope_behavior

[Read-Write] Walkable Slope Behavior: Behavior of this surface (whether we affect the walkable slope). see: GetWalkableSlopeBehavior(), SetWalkableSlopeBehavior()

Type

(WalkableSlopeBehavior)