mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 16:55:07 +02:00
AnimInverseKinematics: open up shoulder swing constraint.
This commit is contained in:
parent
d5c349abec
commit
3426173d1d
1 changed files with 1 additions and 1 deletions
|
@ -670,7 +670,7 @@ void AnimInverseKinematics::initConstraints() {
|
|||
stConstraint->setTwistLimits(-MAX_SHOULDER_TWIST, MAX_SHOULDER_TWIST);
|
||||
|
||||
std::vector<float> minDots;
|
||||
const float MAX_SHOULDER_SWING = PI / 20.0f;
|
||||
const float MAX_SHOULDER_SWING = PI / 6.0f;
|
||||
minDots.push_back(cosf(MAX_SHOULDER_SWING));
|
||||
stConstraint->setSwingLimits(minDots);
|
||||
|
||||
|
|
Loading…
Reference in a new issue