Panda3D
Public Member Functions | Static Public Member Functions | Protected Member Functions
BulletGhostNode Class Reference
Inheritance diagram for BulletGhostNode:
BulletBodyNode PandaNode TypedWritable Namable LinkedListNode ReferenceCount TypedObject MemoryBase MemoryBase MemoryBase

List of all members.

Public Member Functions

 BulletGhostNode (const char *name="ghost")
virtual TypeHandle force_init_type ()
int get_num_overlapping_nodes () const
virtual btCollisionObject * get_object () const
PandaNodeget_overlapping_node (int idx) const
virtual TypeHandle get_type () const
 MAKE_SEQ (get_overlapping_nodes, get_num_overlapping_nodes, get_overlapping_node)
void sync_b2p ()
void sync_p2b ()

Static Public Member Functions

static TypeHandle get_class_type ()
static void init_type ()

Protected Member Functions

virtual void parents_changed ()
 Called after a scene graph update that either adds or remove parents from this node, this just provides a hook for derived PandaNode objects that need to update themselves based on the set of parents the node has.
virtual void transform_changed ()
 Called after the node's transform has been changed for any reason, this just provides a hook so derived classes can do something special in this case.

Detailed Description

Definition at line 33 of file bulletGhostNode.h.


Member Function Documentation

void BulletGhostNode::parents_changed ( ) [protected, virtual]

Called after a scene graph update that either adds or remove parents from this node, this just provides a hook for derived PandaNode objects that need to update themselves based on the set of parents the node has.

Reimplemented from PandaNode.

Definition at line 62 of file bulletGhostNode.cxx.

References PandaNode::Parents::get_num_parents(), PandaNode::Parents::get_parent(), PandaNode::get_parents(), and TypeHandle::is_derived_from().

void BulletGhostNode::transform_changed ( ) [protected, virtual]

Called after the node's transform has been changed for any reason, this just provides a hook so derived classes can do something special in this case.

Reimplemented from PandaNode.

Definition at line 88 of file bulletGhostNode.cxx.

References LVecBase3f::almost_equal(), LMatrix4f::almost_equal(), and NodePath::any_path().


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations