31 #ifndef PX_PHYSICS_CCT_BOX_CONTROLLER 32 #define PX_PHYSICS_CCT_BOX_CONTROLLER 109 halfSideExtent (0.5f),
110 halfForwardExtent (0.5f)
PX_INLINE PxBoxControllerDesc & operator=(const PxBoxControllerDesc &)
assignment operator.
Definition: PxBoxController.h:119
Definition: GuContactBuffer.h:37
PX_INLINE PxBoxController()
Definition: PxBoxController.h:221
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:126
virtual PX_INLINE bool isValid() const
returns true if the current settings are valid
Definition: PxController.h:601
PxF32 halfHeight
Half height.
Definition: PxBoxController.h:86
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:421
PxF32 halfForwardExtent
Half forward extent.
Definition: PxBoxController.h:100
virtual PX_INLINE bool isValid() const
returns true if the current settings are valid
Definition: PxBoxController.h:138
Descriptor for a box character controller.
Definition: PxBoxController.h:50
Box character controller.
Definition: PxBoxController.h:153
Base class for character controllers.
Definition: PxController.h:623
PX_INLINE PxControllerDesc & operator=(const PxControllerDesc &)
assignment operator.
Definition: PxController.h:569
virtual ~PxBoxController()
Definition: PxBoxController.h:222
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:133
The type of controller, eg box, sphere or capsule.
Definition: PxController.h:52
virtual PX_INLINE ~PxBoxControllerDesc()
Definition: PxBoxController.h:57
PxF32 halfSideExtent
Half side extent.
Definition: PxBoxController.h:93
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:304
PX_INLINE PxBoxControllerDesc()
constructor sets to default.
Definition: PxBoxController.h:106
#define PX_INLINE
Definition: PxPreprocessor.h:349
virtual PxF32 getHalfSideExtent() const =0
Gets controller's half side extent.