14 #ifndef PHYSXCAPSULECONTROLLER_H 15 #define PHYSXCAPSULECONTROLLER_H 43 void set_radius(
float radius);
44 void set_height(
float height);
45 float get_radius()
const;
46 float get_height()
const;
49 INLINE NxController *ptr()
const {
return (NxController *)_ptr; };
51 void link(NxController *controllerPtr);
55 NxCapsuleController *_ptr;
61 static void init_type() {
62 PhysxController::init_type();
64 PhysxController::get_class_type());
67 return get_class_type();
71 return get_class_type();
80 #endif // PHYSXCAPSULECONTROLLER_H PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A capsule character controller.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Abstract base class for character controllers.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.