Go to the documentation of this file.
14 #ifndef PHYSXCAPSULESHAPE_H
15 #define PHYSXCAPSULESHAPE_H
47 void set_radius(
float radius);
48 void set_height(
float height);
50 float get_radius()
const;
51 float get_height()
const;
54 INLINE NxShape *ptr()
const {
return (NxShape *)_ptr; };
56 void link(NxShape *shapePtr);
66 static void init_type() {
67 PhysxShape::init_type();
69 PhysxShape::get_class_type());
72 return get_class_type();
76 return get_class_type();
85 #endif // PHYSXCAPSULESHAPE_H
A capsule shaped collision detection primitive, also known as a line swept sphere.
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.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.
Descriptor class for PhysxCapsuleShape.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Abstract base class for shapes.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.