15 #ifndef PHYSXCAPSULEFORCEFIELDSHAPE_H
16 #define PHYSXCAPSULEFORCEFIELDSHAPE_H
18 #include "pandabase.h"
21 #include "physxForceFieldShape.h"
22 #include "physx_includes.h"
35 INLINE ~PhysxCapsuleForceFieldShape();
39 void set_radius(
float radius);
40 void set_height(
float height);
42 float get_radius()
const;
43 float get_height()
const;
47 INLINE NxForceFieldShape *ptr()
const {
return (NxForceFieldShape *)_ptr; };
49 void link(NxForceFieldShape *shapePtr);
53 NxCapsuleForceFieldShape *_ptr;
60 static void init_type() {
61 PhysxForceFieldShape::init_type();
62 register_type(_type_handle,
"PhysxCapsuleForceFieldShape",
63 PhysxForceFieldShape::get_class_type());
66 return get_class_type();
70 return get_class_type();
77 #include "physxCapsuleForceFieldShape.I"
79 #endif // PHYSXCAPSULEFORCEFIELDSHAPE_H
Abstract base class for force field shapes.
A capsule shaped region used to define a force field.
TypeHandle is the identifier used to differentiate C++ class types.
Descriptor for a capsule force field shape.