14#ifndef PHYSXCAPSULEFORCEFIELDSHAPE_H
15#define PHYSXCAPSULEFORCEFIELDSHAPE_H
36 void set_radius(
float radius);
37 void set_height(
float height);
39 float get_radius()
const;
40 float get_height()
const;
43 INLINE NxForceFieldShape *ptr()
const {
return (NxForceFieldShape *)_ptr; };
45 void link(NxForceFieldShape *shapePtr);
49 NxCapsuleForceFieldShape *_ptr;
55 static void init_type() {
56 PhysxForceFieldShape::init_type();
58 PhysxForceFieldShape::get_class_type());
61 return get_class_type();
65 return get_class_type();
Descriptor for a capsule force field shape.
A capsule shaped region used to define a force field.
Abstract base class for force field 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(),...