31 #ifndef PX_PHYSICS_CCT_BOX_CONTROLLER 32 #define PX_PHYSICS_CCT_BOX_CONTROLLER 108 halfSideExtent (0.5f),
109 halfForwardExtent (0.5f)
PX_INLINE PxBoxControllerDesc & operator=(const PxBoxControllerDesc &)
assignment operator.
Definition: PxBoxController.h:118
Definition: GuContactBuffer.h:37
PX_INLINE PxBoxController()
Definition: PxBoxController.h:220
float PxF32
Definition: PxSimpleTypes.h:76
virtual PxF32 getHalfHeight() const =0
Gets controller's half height.
PX_INLINE void copy(const PxBoxControllerDesc &)
Definition: PxBoxController.h:125
virtual PX_INLINE bool isValid() const
returns true if the current settings are valid
Definition: PxController.h:597
PxF32 halfHeight
Half height.
Definition: PxBoxController.h:85
virtual bool setHalfHeight(PxF32 halfHeight)=0
Sets controller's half height.
PxF32 stepOffset
Defines the maximum height of an obstacle which the character can climb.
Definition: PxController.h:417
PxF32 halfForwardExtent
Half forward extent.
Definition: PxBoxController.h:99
virtual PX_INLINE bool isValid() const
returns true if the current settings are valid
Definition: PxBoxController.h:137
Descriptor for a box character controller.
Definition: PxBoxController.h:49
Box character controller.
Definition: PxBoxController.h:152
Base class for character controllers.
Definition: PxController.h:628
PX_INLINE PxControllerDesc & operator=(const PxControllerDesc &)
assignment operator.
Definition: PxController.h:565
virtual ~PxBoxController()
Definition: PxBoxController.h:221
virtual bool setHalfSideExtent(PxF32 halfSideExtent)=0
Sets controller's half side extent.
virtual PX_INLINE void setToDefault()
(re)sets the structure to the default.
Definition: PxBoxController.h:132
The type of controller, eg box, sphere or capsule.
Definition: PxController.h:49
virtual PX_INLINE ~PxBoxControllerDesc()
Definition: PxBoxController.h:56
PxF32 halfSideExtent
Half side extent.
Definition: PxBoxController.h:92
virtual PxF32 getHalfForwardExtent() const =0
Gets controller's half forward extent.
virtual bool setHalfForwardExtent(PxF32 halfForwardExtent)=0
Sets controller's half forward extent.
Descriptor class for a character controller.
Definition: PxController.h:300
PX_INLINE PxBoxControllerDesc()
constructor sets to default.
Definition: PxBoxController.h:105
#define PX_INLINE
Definition: PxPreprocessor.h:336
virtual PxF32 getHalfSideExtent() const =0
Gets controller's half side extent.