PxControllerNonWalkableMode

Defined in include/characterkinematic/PxController.h

struct PxControllerNonWalkableMode

specifies how a CCT interacts with non-walkable parts.

This is only used when slopeLimit is non zero. It is currently enabled for static actors only, and not supported for spheres or capsules.

Public Types

enum Enum

Values:

enumerator ePREVENT_CLIMBING

Stops character from climbing up non-walkable slopes, but doesn’t move it otherwise.

enumerator ePREVENT_CLIMBING_AND_FORCE_SLIDING

Stops character from climbing up non-walkable slopes, and forces it to slide down those slopes.