#include <joint.hpp>
Inheritance diagram for irr::newton::JointUpVector:
Public Member Functions | |
irr::core::vector3df | getPin () |
JointUpVector (irr::newton::World *world, irr::core::vector3df pin_dir, irr::newton::Body *body) | |
JointUpVector () | |
void | setPin (irr::core::vector3df new_pin) |
~JointUpVector () | |
Protected Member Functions | |
void | reserved_destroy () |
reserved |
irr::newton::JointUpVector::JointUpVector | ( | ) | [inline] |
constructor. don't call this directly
irr::newton::JointUpVector::~JointUpVector | ( | ) | [inline] |
destructor
irr::newton::JointUpVector::JointUpVector | ( | irr::newton::World * | world, | |
irr::core::vector3df | pin_dir, | |||
irr::newton::Body * | body | |||
) |
constructor. don't call this directly
irr::core::vector3df irr::newton::JointUpVector::getPin | ( | ) |
Get the up vector pin of this joint in global space.
the application can call this function to change the joint up vector, this is useful to animate the up vector. if the application is going to animated the up vector, it must do so by applying only small rotation, too large rotation can cause vibration of the joint
void irr::newton::JointUpVector::reserved_destroy | ( | ) | [inline, protected, virtual] |
void irr::newton::JointUpVector::setPin | ( | irr::core::vector3df | new_pin | ) |
Set the up vector pin of this joint in global space.
the application can call this function to change the joint up vector, this is useful to animate the up vector. if the application is going to animated the up vector, it must do so by applying only small rotation, too large rotation can cause vibration of the joint
new_pin | the up vector direction in global space. |