Panda3D
Public Member Functions | Static Public Member Functions
BulletBaseCharacterControllerNode Class Reference
Inheritance diagram for BulletBaseCharacterControllerNode:
PandaNode TypedWritable Namable LinkedListNode ReferenceCount TypedObject MemoryBase MemoryBase MemoryBase BulletCharacterControllerNode

List of all members.

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 ()

Detailed Description

Definition at line 31 of file bulletBaseCharacterControllerNode.h.


Member Function Documentation

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().

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.

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.

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.

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.

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.

Returns true if it is generally safe to transform this particular kind of Node by calling the xform() method, false otherwise.

For instance, it's usually a bad idea to attempt to xform a Character.

Reimplemented from PandaNode.

Definition at line 130 of file bulletBaseCharacterControllerNode.cxx.


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