mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 14:52:46 +02:00
Merge pull request #15017 from amantley/ikOnByDefault
bug fix: Ik is on by default in desktop mode
This commit is contained in:
commit
51e4ddd888
1 changed files with 0 additions and 7 deletions
|
@ -1066,13 +1066,6 @@ void Rig::computeMotionAnimationState(float deltaTime, const glm::vec3& worldPos
|
||||||
|
|
||||||
if (_enableInverseKinematics) {
|
if (_enableInverseKinematics) {
|
||||||
_animVars.set("ikOverlayAlpha", 1.0f);
|
_animVars.set("ikOverlayAlpha", 1.0f);
|
||||||
_animVars.set("splineIKEnabled", true);
|
|
||||||
_animVars.set("leftHandIKEnabled", true);
|
|
||||||
_animVars.set("rightHandIKEnabled", true);
|
|
||||||
_animVars.set("leftFootIKEnabled", true);
|
|
||||||
_animVars.set("rightFootIKEnabled", true);
|
|
||||||
_animVars.set("leftFootPoleVectorEnabled", true);
|
|
||||||
_animVars.set("rightFootPoleVectorEnabled", true);
|
|
||||||
} else {
|
} else {
|
||||||
_animVars.set("ikOverlayAlpha", 0.0f);
|
_animVars.set("ikOverlayAlpha", 0.0f);
|
||||||
_animVars.set("splineIKEnabled", false);
|
_animVars.set("splineIKEnabled", false);
|
||||||
|
|
Loading…
Reference in a new issue