mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 06:53:59 +02:00
added comment
This commit is contained in:
parent
deca26e9eb
commit
8adbe34c27
1 changed files with 2 additions and 0 deletions
|
@ -247,6 +247,8 @@ int AnimInverseKinematics::solveTargetWithCCD(const IKTarget& target, AnimPoseVe
|
|||
// the tip's parent-relative as we proceed up the chain
|
||||
glm::quat tipParentOrientation = absolutePoses[pivotIndex].rot();
|
||||
|
||||
// NOTE: if this code is removed, the head will remain rigid, causing the spine/hips to thrust forward backward
|
||||
// as the head is nodded.
|
||||
if (targetType == IKTarget::Type::HmdHead) {
|
||||
|
||||
// rotate tip directly to target orientation
|
||||
|
|
Loading…
Reference in a new issue