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();
Descriptor class for PhysxCapsuleShape.
A capsule shaped collision detection primitive, also known as a line swept sphere.
Abstract base class for shapes.
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(),...