14#ifndef PHYSXBOXCONTROLLER_H
15#define PHYSXBOXCONTROLLER_H
26class EXPCL_PANDAPHYSX PhysxBoxController :
public PhysxController {
29 INLINE PhysxBoxController();
30 INLINE ~PhysxBoxController();
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();
LVector3f get_extents() const
Returns controller's extents.
void set_extents(const LVector3f &extents)
Sets controller's extents.
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.
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(),...