15 #ifndef __BULLET_BASE_CHARACTER_CONTROLLER_NODE_H__
16 #define __BULLET_BASE_CHARACTER_CONTROLLER_NODE_H__
18 #include "pandabase.h"
20 #include "bullet_includes.h"
21 #include "bullet_utils.h"
22 #include "bulletShape.h"
24 #include "pandaNode.h"
25 #include "collideMask.h"
46 virtual btPairCachingGhostObject *get_ghost()
const = 0;
47 virtual btCharacterControllerInterface *get_character()
const = 0;
49 virtual void sync_p2b(PN_stdfloat dt,
int num_substeps) = 0;
50 virtual void sync_b2p() = 0;
57 static void init_type() {
58 PandaNode::init_type();
59 register_type(_type_handle,
"BulletBaseCharacterControllerNode",
60 PandaNode::get_class_type());
63 return get_class_type();
67 return get_class_type();
74 #include "bulletBaseCharacterControllerNode.I"
76 #endif // __BULLET_BASE_CHARACTER_CONTROLLER_NODE_H__
A basic node of the scene graph or data graph.
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_combine_children() const
Returns true if it is generally safe to combine the children of this PandaNode with each other...
virtual bool safe_to_combine() const
Returns true if it is generally safe to combine this particular kind of PandaNode with other kinds of...
virtual CollideMask get_legal_collide_mask() const
Returns the subset of CollideMask bits that may be set for this particular type of PandaNode...
virtual bool safe_to_transform() const
Returns true if it is generally safe to transform this particular kind of PandaNode by calling the xf...
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 ...
TypeHandle is the identifier used to differentiate C++ class types.
virtual bool safe_to_flatten() const
Returns true if it is generally safe to flatten out this particular kind of PandaNode by duplicating ...