Go to the documentation of this file.
14 #ifndef PHYSXBOXCONTROLLER_H
15 #define PHYSXBOXCONTROLLER_H
32 void set_extents(
const LVector3f &extents);
33 LVector3f get_extents()
const;
36 INLINE NxController *ptr()
const {
return (NxController *)_ptr; };
38 void link(NxController *controllerPtr);
42 NxBoxController *_ptr;
48 static void init_type() {
49 PhysxController::init_type();
51 PhysxController::get_class_type());
54 return get_class_type();
58 return get_class_type();
67 #endif // PHYSXBOXCONTROLLER_H
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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(),...
Abstract base class for character controllers.
Box character controller.
TypeHandle is the identifier used to differentiate C++ class types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.