15 #ifndef PHYSICSOBJECTCOLLECTION_H 16 #define PHYSICSOBJECTCOLLECTION_H 18 #include "pandabase.h" 19 #include "physicsObject.h" 20 #include "pointerToArray.h" 39 void remove_duplicate_physics_objects();
40 bool has_physics_object(PT(
PhysicsObject) physics_object)
const;
43 bool is_empty()
const;
44 int get_num_physics_objects()
const;
46 MAKE_SEQ(get_physics_objects, get_num_physics_objects, get_physics_object);
52 void output(ostream &out)
const;
53 void write(ostream &out,
int indent_level = 0)
const;
57 PhysicsObjects _physics_objects;
66 #include "physicsObjectCollection.I" A body on which physics will be applied.
This is a set of zero or more PhysicsObjects.