|
Rebel Fork Framework
|
Fixed-length segment that consists of two nodes. More...
#include <Urho3D/Math/InverseKinematics.h>
Public Member Functions | |
| Quaternion | CalculateRotationDeltaFromPrevious () const |
| Calculate rotation delta from positions, using previous positions as reference. | |
| Quaternion | CalculateRotationDeltaFromOriginal () const |
| Calculate rotation delta from positions, using original positions as reference. | |
| Quaternion | CalculateRotation (const IKSettings &settings) const |
| Calculate current rotation. | |
| Vector3 | CalculateDirection () const |
| Calculate current direction. | |
| void | UpdateLength () |
| Update cached length. | |
| void | UpdateRotationInNodes (bool fromPrevious, bool isLastSegment) |
| Update current rotation for nodes. | |
| void | Twist (float angle, bool isLastSegment) |
| Twist the segment around its direction. | |
Public Attributes | |
| IKNode * | beginNode_ {} |
| IKNode * | endNode_ {} |
| float | length_ {} |
Fixed-length segment that consists of two nodes.