14 #ifndef __BULLET_GHOST_NODE_H__
15 #define __BULLET_GHOST_NODE_H__
37 int get_num_overlapping_nodes()
const;
38 PandaNode *get_overlapping_node(
int idx)
const;
39 MAKE_SEQ(get_overlapping_nodes, get_num_overlapping_nodes, get_overlapping_node);
41 MAKE_SEQ_PROPERTY(overlapping_nodes, get_num_overlapping_nodes, get_overlapping_node);
44 virtual btCollisionObject *get_object()
const;
50 virtual void parents_changed();
51 virtual void transform_changed();
58 btPairCachingGhostObject *_ghost;
60 void do_transform_changed();
74 static void init_type() {
75 BulletBodyNode::init_type();
77 BulletBodyNode::get_class_type());
80 return get_class_type();
84 return get_class_type();
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
An instance of this class is passed to the Factory when requesting it to do its business and construc...
A basic node of the scene graph or data graph.
static void register_with_read_factory()
Tells the BamReader how to create objects of type PandaNode.
virtual PandaNode * make_copy() const
Returns a newly-allocated PandaNode that is a shallow copy of this one.
TypeHandle is the identifier used to differentiate C++ class types.
Base class for objects that can be written to and read from Bam files.
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(),...