21 INLINE BulletGhostNode::
32 INLINE
int BulletGhostNode::
33 get_num_overlapping_nodes()
const {
35 return _ghost->getNumOverlappingObjects();
44 get_overlapping_node(
int idx)
const {
46 nassertr(idx >=0 && idx < _ghost->getNumOverlappingObjects(), NULL);
48 btCollisionObject *
object = _ghost->getOverlappingObject(idx);
49 return (
object) ? (
PandaNode *)object->getUserPointer() : NULL;
A basic node of the scene graph or data graph.