14 #ifndef __BULLET_BASE_CHARACTER_CONTROLLER_NODE_H__ 15 #define __BULLET_BASE_CHARACTER_CONTROLLER_NODE_H__ 43 virtual btPairCachingGhostObject *get_ghost()
const = 0;
44 virtual btCharacterControllerInterface *get_character()
const = 0;
46 virtual void do_sync_p2b(PN_stdfloat dt,
int num_substeps) = 0;
47 virtual void do_sync_b2p() = 0;
53 static void init_type() {
54 PandaNode::init_type();
55 register_type(_type_handle,
"BulletBaseCharacterControllerNode",
56 PandaNode::get_class_type());
59 return get_class_type();
63 return get_class_type();
72 #endif // __BULLET_BASE_CHARACTER_CONTROLLER_NODE_H__ PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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 ...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.
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() const
Returns true if it is generally safe to flatten out this particular kind of PandaNode by duplicating ...