14#ifndef PHYSXCAPSULECONTROLLER_H
15#define PHYSXCAPSULECONTROLLER_H
37class EXPCL_PANDAPHYSX PhysxCapsuleController :
public PhysxController {
40 INLINE PhysxCapsuleController();
41 INLINE ~PhysxCapsuleController();
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();
void set_height(float height)
Resets the controller's height.
void set_radius(float radius)
Resets the controller's radius.
float get_height() const
Returns the controller's height.
float get_radius() const
Returns the controller's radius.
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(),...