15 #ifndef PHYSXCAPSULECONTROLLER_H
16 #define PHYSXCAPSULECONTROLLER_H
18 #include "pandabase.h"
21 #include "physxController.h"
22 #include "physx_includes.h"
48 INLINE ~PhysxCapsuleController();
50 void set_radius(
float radius);
51 void set_height(
float height);
52 float get_radius()
const;
53 float get_height()
const;
57 INLINE NxController *ptr()
const {
return (NxController *)_ptr; };
59 void link(NxController *controllerPtr);
63 NxCapsuleController *_ptr;
70 static void init_type() {
71 PhysxController::init_type();
72 register_type(_type_handle,
"PhysxCapsuleController",
73 PhysxController::get_class_type());
76 return get_class_type();
80 return get_class_type();
87 #include "physxCapsuleController.I"
89 #endif // PHYSXCAPSULECONTROLLER_H
A capsule character controller.
Abstract base class for character controllers.
TypeHandle is the identifier used to differentiate C++ class types.