#[repr(i32)]
pub enum PxControllerBehaviorFlag {
CctCanRideOnObject,
CctSlide,
CctUserDefinedRide,
}
Expand description
specifies controller behavior
Variants§
CctCanRideOnObject
Controller can ride on touched object (i.e. when this touched object is moving horizontally).
The CCT vs. CCT case is not supported.
CctSlide
Controller should slide on touched object
CctUserDefinedRide
Disable all code dealing with controllers riding on objects, let users define it outside of the SDK.
Trait Implementations§
source§impl Clone for PxControllerBehaviorFlag
impl Clone for PxControllerBehaviorFlag
source§fn clone(&self) -> PxControllerBehaviorFlag
fn clone(&self) -> PxControllerBehaviorFlag
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 PxControllerBehaviorFlag
impl Debug for PxControllerBehaviorFlag
source§impl PartialEq<PxControllerBehaviorFlag> for PxControllerBehaviorFlag
impl PartialEq<PxControllerBehaviorFlag> for PxControllerBehaviorFlag
source§fn eq(&self, other: &PxControllerBehaviorFlag) -> bool
fn eq(&self, other: &PxControllerBehaviorFlag) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.