29#ifndef PX_BOX_CONTROLLER_H
30#define PX_BOX_CONTROLLER_H
35#include "characterkinematic/PxController.h"
106 halfSideExtent (0.5f),
107 halfForwardExtent (0.5f)
Descriptor for a box character controller.
Definition PxBoxController.h:48
virtual PX_INLINE void setToDefault()
(re)sets the structure to the default.
Definition PxBoxController.h:130
PX_INLINE PxBoxControllerDesc()
constructor sets to default.
Definition PxBoxController.h:103
virtual PX_INLINE bool isValid() const
returns true if the current settings are valid
Definition PxBoxController.h:135
PxF32 halfSideExtent
Half side extent.
Definition PxBoxController.h:90
PX_INLINE PxBoxControllerDesc & operator=(const PxBoxControllerDesc &)
assignment operator.
Definition PxBoxController.h:116
PxF32 halfHeight
Half height.
Definition PxBoxController.h:83
PxF32 halfForwardExtent
Half forward extent.
Definition PxBoxController.h:97
Box character controller.
Definition PxBoxController.h:151
virtual PxF32 getHalfHeight() const =0
Gets controller's half height.
virtual bool setHalfHeight(PxF32 halfHeight)=0
Sets controller's half height.
virtual bool setHalfForwardExtent(PxF32 halfForwardExtent)=0
Sets controller's half forward extent.
virtual PxF32 getHalfForwardExtent() const =0
Gets controller's half forward extent.
virtual PxF32 getHalfSideExtent() const =0
Gets controller's half side extent.
virtual bool setHalfSideExtent(PxF32 halfSideExtent)=0
Sets controller's half side extent.
Descriptor class for a character controller.
Definition PxController.h:300
virtual PX_INLINE bool isValid() const
returns true if the current settings are valid
Definition PxController.h:606
PX_INLINE PxControllerDesc & operator=(const PxControllerDesc &)
assignment operator.
Definition PxController.h:573
PxF32 stepOffset
Defines the maximum height of an obstacle which the character can climb.
Definition PxController.h:416
Base class for character controllers.
Definition PxController.h:638
#define PX_INLINE
Definition PxPreprocessor.h:320
Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
Definition PxBoxController.h:39
The type of controller, eg box, sphere or capsule.
Definition PxController.h:49