14 #ifndef COLLISIONHANDLER_H
15 #define COLLISIONHANDLER_H
34 virtual void begin_group();
36 virtual bool end_group();
38 INLINE
bool wants_all_potential_collidees()
const;
39 INLINE
void set_root(
const NodePath &root);
47 static void init_type() {
48 TypedReferenceCount::init_type();
50 TypedReferenceCount::get_class_type());
53 return get_class_type();
55 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
58 bool _wants_all_potential_collidees;
Defines a single collision event.
The abstract interface to a number of classes that decide what to do when a collision is detected.
This class manages the traversal through the scene graph to detect collisions.
NodePath is the fundamental system for disambiguating instances, and also provides a higher-level int...
TypeHandle is the identifier used to differentiate C++ class types.
A base class for things which need to inherit from both TypedObject and from ReferenceCount.
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(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.