Panda3D
|
Public Member Functions | |
BulletBaseCharacterControllerNode (const char *name="character") | |
virtual TypeHandle | force_init_type () |
virtual btCharacterControllerInterface * | get_character () const =0 |
virtual btPairCachingGhostObject * | get_ghost () const =0 |
virtual CollideMask | get_legal_collide_mask () const |
Returns the subset of CollideMask bits that may be set for this particular type of PandaNode. | |
virtual TypeHandle | get_type () const |
virtual bool | safe_to_combine () const |
Returns true if it is generally safe to combine this particular kind of PandaNode with other kinds of PandaNodes of compatible type, adding children or whatever. | |
virtual bool | safe_to_combine_children () const |
Returns true if it is generally safe to combine the children of this PandaNode with each other. | |
virtual bool | safe_to_flatten () const |
Returns true if it is generally safe to flatten out this particular kind of Node by duplicating instances, false otherwise (for instance, a Camera cannot be safely flattened, because the Camera pointer itself is meaningful). | |
virtual bool | safe_to_flatten_below () const |
Returns true if a flatten operation may safely continue past this node, or false if nodes below this node may not be molested. | |
virtual bool | safe_to_modify_transform () const |
Returns true if it is safe to automatically adjust the transform on this kind of node. | |
virtual bool | safe_to_transform () const |
Returns true if it is generally safe to transform this particular kind of Node by calling the xform() method, false otherwise. | |
virtual void | sync_b2p ()=0 |
virtual void | sync_p2b (PN_stdfloat dt, int num_substeps)=0 |
Static Public Member Functions | |
static TypeHandle | get_class_type () |
static void | init_type () |
Definition at line 31 of file bulletBaseCharacterControllerNode.h.
CollideMask BulletBaseCharacterControllerNode::get_legal_collide_mask | ( | ) | const [virtual] |
Returns the subset of CollideMask bits that may be set for this particular type of PandaNode.
For CharacterControllerNodes this returns all bits on.
Reimplemented from PandaNode.
Definition at line 39 of file bulletBaseCharacterControllerNode.cxx.
References BitMask< WType, nbits >::all_on().
bool BulletBaseCharacterControllerNode::safe_to_combine | ( | ) | const [virtual] |
Returns true if it is generally safe to combine this particular kind of PandaNode with other kinds of PandaNodes of compatible type, adding children or whatever.
For instance, an LODNode should not be combined with any other PandaNode, because its set of children is meaningful.
Reimplemented from PandaNode.
Definition at line 88 of file bulletBaseCharacterControllerNode.cxx.
bool BulletBaseCharacterControllerNode::safe_to_combine_children | ( | ) | const [virtual] |
Returns true if it is generally safe to combine the children of this PandaNode with each other.
For instance, an LODNode's children should not be combined with each other, because the set of children is meaningful.
Reimplemented from PandaNode.
Definition at line 103 of file bulletBaseCharacterControllerNode.cxx.
bool BulletBaseCharacterControllerNode::safe_to_flatten | ( | ) | const [virtual] |
Returns true if it is generally safe to flatten out this particular kind of Node by duplicating instances, false otherwise (for instance, a Camera cannot be safely flattened, because the Camera pointer itself is meaningful).
Reimplemented from PandaNode.
Definition at line 54 of file bulletBaseCharacterControllerNode.cxx.
bool BulletBaseCharacterControllerNode::safe_to_flatten_below | ( | ) | const [virtual] |
Returns true if a flatten operation may safely continue past this node, or false if nodes below this node may not be molested.
Reimplemented from PandaNode.
Definition at line 116 of file bulletBaseCharacterControllerNode.cxx.
bool BulletBaseCharacterControllerNode::safe_to_modify_transform | ( | ) | const [virtual] |
Returns true if it is safe to automatically adjust the transform on this kind of node.
Usually, this is only a bad idea if the user expects to find a particular transform on the node.
ModelNodes with the preserve_transform flag set are presently the only kinds of nodes that should not have their transform even adjusted.
Reimplemented from PandaNode.
Definition at line 72 of file bulletBaseCharacterControllerNode.cxx.
bool BulletBaseCharacterControllerNode::safe_to_transform | ( | ) | const [virtual] |