15 #ifndef PHYSXFORCEFIELD_H
16 #define PHYSXFORCEFIELD_H
18 #include "pandabase.h"
21 #include "physxObject.h"
22 #include "physx_includes.h"
41 INLINE ~PhysxForceField();
46 void set_name(
const char *name);
48 const char *get_name()
const;
52 unsigned int get_num_shape_groups()
const;
54 MAKE_SEQ(get_shape_groups, get_num_shape_groups, get_shape_group);
60 INLINE
void ls()
const;
61 INLINE
void ls(ostream &out,
int indent_level=0)
const;
64 INLINE NxForceField *ptr()
const {
return _ptr; };
66 void link(NxForceField *ptr);
78 static void init_type() {
79 PhysxObject::init_type();
80 register_type(_type_handle,
"PhysxForceField",
81 PhysxObject::get_class_type());
84 return get_class_type();
88 return get_class_type();
95 #include "physxForceField.I"
97 #endif // PHYSXFORCEFIELD_H
A scene is a collection of bodies, constraints, and effectors which can interact. ...
Descriptor class for force fields.
TypeHandle is the identifier used to differentiate C++ class types.