Rebel Fork Framework
Urho3D::IKNodeSegment Struct Reference

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

IKNodebeginNode_ {}
 
IKNodeendNode_ {}
 
float length_ {}
 

Detailed Description

Fixed-length segment that consists of two nodes.


The documentation for this struct was generated from the following files: