14 #ifndef PHYSXFORCEFIELD_H
15 #define PHYSXFORCEFIELD_H
42 void set_name(
const char *name);
44 const char *get_name()
const;
48 unsigned int get_num_shape_groups()
const;
50 MAKE_SEQ(get_shape_groups, get_num_shape_groups, get_shape_group);
55 INLINE
void ls()
const;
56 INLINE
void ls(std::ostream &out,
int indent_level=0)
const;
59 INLINE NxForceField *ptr()
const {
return _ptr; };
61 void link(NxForceField *ptr);
72 static void init_type() {
73 PhysxObject::init_type();
75 PhysxObject::get_class_type());
78 return get_class_type();
82 return get_class_type();
Descriptor class for force fields.
A scene is a collection of bodies, constraints, and effectors which can interact.
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(),...