31 #ifndef PX_PHYSICS_CCT_CAPSULE_CONTROLLER    32 #define PX_PHYSICS_CCT_CAPSULE_CONTROLLER   154     if(
radius<=0.0f)                    
return false;
   155     if(
height<=0.0f)                    
return false;
 Definition: GuContactBuffer.h:37
 
Standard mode, let the capsule climb over surfaces according to impact normal. 
Definition: PxCapsuleController.h:48
 
virtual PxCapsuleClimbingMode::Enum getClimbingMode() const =0
Gets controller's climbing mode. 
 
PX_INLINE PxCapsuleController()
Definition: PxCapsuleController.h:241
 
float PxF32
Definition: PxSimpleTypes.h:76
 
virtual PxF32 getRadius() const =0
Gets controller's radius. 
 
virtual PX_INLINE bool isValid() const
returns true if the current settings are valid 
Definition: PxController.h:597
 
virtual bool setClimbingMode(PxCapsuleClimbingMode::Enum mode)=0
Sets controller's climbing mode. 
 
virtual ~PxCapsuleController()
Definition: PxCapsuleController.h:242
 
PxF32 stepOffset
Defines the maximum height of an obstacle which the character can climb. 
Definition: PxController.h:417
 
virtual bool setRadius(PxF32 radius)=0
Sets controller's radius. 
 
PxCapsuleClimbingMode::Enum climbingMode
The climbing mode. 
Definition: PxCapsuleController.h:115
 
PxF32 height
The height of the controller. 
Definition: PxCapsuleController.h:106
 
Definition: PxCapsuleController.h:44
 
virtual PxF32 getHeight() const =0
Gets controller's height. 
 
virtual PX_INLINE ~PxCapsuleControllerDesc()
Definition: PxCapsuleController.h:67
 
virtual bool setHeight(PxF32 height)=0
Resets controller's height. 
 
Base class for character controllers. 
Definition: PxController.h:628
 
PX_INLINE PxControllerDesc & operator=(const PxControllerDesc &)
assignment operator. 
Definition: PxController.h:565
 
A capsule character controller. 
Definition: PxCapsuleController.h:176
 
PX_INLINE void copy(const PxCapsuleControllerDesc &)
Definition: PxCapsuleController.h:139
 
PX_INLINE PxCapsuleControllerDesc()
constructor sets to default. 
Definition: PxCapsuleController.h:121
 
The type of controller, eg box, sphere or capsule. 
Definition: PxController.h:49
 
Constrained mode, try to limit climbing according to the step offset. 
Definition: PxCapsuleController.h:49
 
PX_INLINE PxCapsuleControllerDesc & operator=(const PxCapsuleControllerDesc &)
assignment operator. 
Definition: PxCapsuleController.h:132
 
virtual PX_INLINE bool isValid() const
returns true if the current settings are valid 
Definition: PxCapsuleController.h:151
 
A descriptor for a capsule character controller. 
Definition: PxCapsuleController.h:60
 
Descriptor class for a character controller. 
Definition: PxController.h:300
 
virtual PX_INLINE void setToDefault()
(re)sets the structure to the default. 
Definition: PxCapsuleController.h:146
 
PxF32 radius
The radius of the capsule. 
Definition: PxCapsuleController.h:97
 
#define PX_INLINE
Definition: PxPreprocessor.h:336
 
Enum
Definition: PxCapsuleController.h:46