Unreverted back change http://code.google.com/p/jmonkeyengine/source/detail?r=7142 because change is so fun :D, and it's more logical...i guess

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7164 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
rem..om 14 years ago
parent dc030c897f
commit 109c6b4ef7
  1. 4
      engine/src/core/com/jme3/animation/Bone.java

@ -347,7 +347,7 @@ public final class Bone implements Savable {
/** /**
* Set user transform. * Set user transform.
* The transforms are used as increments to current translations * Combine the given transforms to bone's current transforms
* @see setUserControl * @see setUserControl
*/ */
public void setUserTransforms(Vector3f translation, Quaternion rotation, Vector3f scale) { public void setUserTransforms(Vector3f translation, Quaternion rotation, Vector3f scale) {
@ -361,7 +361,7 @@ public final class Bone implements Savable {
localPos.addLocal(translation); localPos.addLocal(translation);
localRot = localRot.mult(rotation); localRot = localRot.mult(rotation);
localScale.addLocal(scale); localScale.multLocal(scale);
} }
/** /**

Loading…
Cancel
Save