Panda3D
collisionHandler.I
Go to the documentation of this file.
1 /**
2  * PANDA 3D SOFTWARE
3  * Copyright (c) Carnegie Mellon University. All rights reserved.
4  *
5  * All use of this software is subject to the terms of the revised BSD
6  * license. You should have received a copy of this license along
7  * with this source code in a file named "LICENSE."
8  *
9  * @file collisionHandler.I
10  * @author WDIG
11  * @date 2007-08-15
12  */
13 
14 /**
15  * Returns true if handler wants to know about all solids that are within the
16  * collider's bounding volume
17  */
18 INLINE bool CollisionHandler::
20  return _wants_all_potential_collidees;
21 }
22 
23 /**
24  * Sets the root of the collision traversal. Only set if
25  * wants_all_potential_collidees is true
26  */
27 INLINE void CollisionHandler::
28 set_root(const NodePath &root) {
29  _root = &root;
30 }
bool wants_all_potential_collidees() const
Returns true if handler wants to know about all solids that are within the collider's bounding volume...
void set_root(const NodePath &root)
Sets the root of the collision traversal.
NodePath is the fundamental system for disambiguating instances, and also provides a higher-level int...
Definition: nodePath.h:161