29#ifndef PX_CONTROLLER_OBSTACLES_H
30#define PX_CONTROLLER_OBSTACLES_H
35#include "characterkinematic/PxExtended.h"
36#include "geometry/PxGeometry.h"
43 class PxControllerManager;
45 #define PX_INVALID_OBSTACLE_HANDLE 0xffffffff
82 { mType = PxGeometryType::eBOX; }
98 { mType = PxGeometryType::eCAPSULE; }
104 typedef PxU32 PxObstacleHandle;
A box obstacle.
Definition PxControllerObstacles.h:78
A capsule obstacle.
Definition PxControllerObstacles.h:93
Manages an array of character controllers.
Definition PxControllerManager.h:83
Context class for obstacles.
Definition PxControllerObstacles.h:114
virtual bool removeObstacle(PxObstacleHandle handle)=0
Removes an obstacle from the context.
virtual PxObstacleHandle addObstacle(const PxObstacle &obstacle)=0
Adds an obstacle to the context.
virtual PxU32 getNbObstacles() const =0
Retrieves number of obstacles in the context.
virtual bool updateObstacle(PxObstacleHandle handle, const PxObstacle &obstacle)=0
Updates data for an existing obstacle.
virtual PxControllerManager & getControllerManager() const =0
Retrieves the controller manager associated with this context.
virtual void release()=0
Releases the context.
virtual const PxObstacle * getObstacleByHandle(PxObstacleHandle handle) const =0
Retrieves desired obstacle by given handle.
virtual const PxObstacle * getObstacle(PxU32 i) const =0
Retrieves desired obstacle.
Base class for obstacles.
Definition PxControllerObstacles.h:53
This is a quaternion class. For more information on quaternion mathematics consult a mathematics sour...
Definition PxQuat.h:50
3 Element vector class.
Definition PxVec3.h:50
#define PX_FORCE_INLINE
Definition PxPreprocessor.h:335
Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
Definition PxBoxController.h:39
Definition PxExtended.h:55
Enum
Definition PxGeometry.h:52
@ eINVALID
internal use only!
Definition PxGeometry.h:66