#[repr(i32)]pub enum PxControllerNonWalkableMode {
PreventClimbing = 0,
PreventClimbingAndForceSliding = 1,
}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 = 0
Stops character from climbing up non-walkable slopes, but doesn’t move it otherwise
PreventClimbingAndForceSliding = 1
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 duplicate 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
impl Copy for PxControllerNonWalkableMode
impl Eq for PxControllerNonWalkableMode
impl StructuralPartialEq for PxControllerNonWalkableMode
Auto Trait Implementations§
impl Freeze for PxControllerNonWalkableMode
impl RefUnwindSafe for PxControllerNonWalkableMode
impl Send for PxControllerNonWalkableMode
impl Sync for PxControllerNonWalkableMode
impl Unpin for PxControllerNonWalkableMode
impl UnwindSafe for PxControllerNonWalkableMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more