15 #ifndef __BULLET_GHOST_NODE_H__ 16 #define __BULLET_GHOST_NODE_H__ 18 #include "pandabase.h" 20 #include "bullet_includes.h" 21 #include "bullet_utils.h" 22 #include "bulletBodyNode.h" 24 #include "pandaNode.h" 25 #include "collideMask.h" 40 INLINE
int get_num_overlapping_nodes()
const;
41 INLINE
PandaNode *get_overlapping_node(
int idx)
const;
42 MAKE_SEQ(get_overlapping_nodes, get_num_overlapping_nodes, get_overlapping_node);
45 virtual btCollisionObject *get_object()
const;
51 virtual void parents_changed();
52 virtual void transform_changed();
55 CPT(TransformState) _sync;
59 btPairCachingGhostObject *_ghost;
66 static void init_type() {
67 BulletBodyNode::init_type();
68 register_type(_type_handle,
"BulletGhostNode",
69 BulletBodyNode::get_class_type());
72 return get_class_type();
76 return get_class_type();
83 #include "bulletGhostNode.I" 85 #endif // __BULLET_GHOST_NODE_H__ A basic node of the scene graph or data graph.
TypeHandle is the identifier used to differentiate C++ class types.