Panda3D
|
Public Member Functions | |
BulletCharacterControllerNode (BulletShape *shape, PN_stdfloat step_height, const char *name="character") | |
bool | can_jump () const |
void | do_jump () |
virtual TypeHandle | force_init_type () |
virtual btCharacterControllerInterface * | get_character () const |
virtual btPairCachingGhostObject * | get_ghost () const |
PN_stdfloat | get_gravity () const |
PN_stdfloat | get_max_slope () const |
BulletShape * | get_shape () const |
virtual TypeHandle | get_type () const |
bool | is_on_ground () const |
void | set_angular_movement (PN_stdfloat omega) |
void | set_fall_speed (PN_stdfloat fall_speed) |
void | set_gravity (PN_stdfloat gravity) |
void | set_jump_speed (PN_stdfloat jump_speed) |
void | set_linear_movement (const LVector3 &velocity, bool is_local) |
void | set_max_jump_height (PN_stdfloat max_jump_height) |
void | set_max_slope (PN_stdfloat max_slope) |
void | set_use_ghost_sweep_test (bool value) |
virtual void | sync_b2p () |
virtual void | sync_p2b (PN_stdfloat dt, int num_substeps) |
Static Public Member Functions | |
static TypeHandle | get_class_type () |
static void | init_type () |
Protected Member Functions | |
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. |
Definition at line 33 of file bulletCharacterControllerNode.h.
void BulletCharacterControllerNode::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 165 of file bulletCharacterControllerNode.cxx.
References LMatrix4f::almost_equal(), and NodePath::any_path().