#[repr(i32)]
pub enum PxControllerNonWalkableMode {
PreventClimbing,
PreventClimbingAndForceSliding,
}
Expand description
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.
Variants§
PreventClimbing
Stops character from climbing up non-walkable slopes, but doesn’t move it otherwise
PreventClimbingAndForceSliding
Stops character from climbing up non-walkable slopes, and forces it to slide down those slopes
Trait Implementations§
source§impl Clone for PxControllerNonWalkableMode
impl Clone for PxControllerNonWalkableMode
source§fn clone(&self) -> PxControllerNonWalkableMode
fn clone(&self) -> PxControllerNonWalkableMode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PxControllerNonWalkableMode
impl Debug for PxControllerNonWalkableMode
source§impl PartialEq<PxControllerNonWalkableMode> for PxControllerNonWalkableMode
impl PartialEq<PxControllerNonWalkableMode> for PxControllerNonWalkableMode
source§fn eq(&self, other: &PxControllerNonWalkableMode) -> bool
fn eq(&self, other: &PxControllerNonWalkableMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.