From b73d42e654c2e1f5f9ee9db3cfb7e6a3e092e767 Mon Sep 17 00:00:00 2001 From: "PSp..om" Date: Thu, 19 Sep 2013 04:13:25 +0000 Subject: [PATCH] Changed interpolate to interpolateLocal to match latest API change. git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10795 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- .../com/jme3/bullet/control/KinematicRagdollControl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/bullet-common/com/jme3/bullet/control/KinematicRagdollControl.java b/engine/src/bullet-common/com/jme3/bullet/control/KinematicRagdollControl.java index 0376f0031..13e49213c 100644 --- a/engine/src/bullet-common/com/jme3/bullet/control/KinematicRagdollControl.java +++ b/engine/src/bullet-common/com/jme3/bullet/control/KinematicRagdollControl.java @@ -270,7 +270,7 @@ public class KinematicRagdollControl extends AbstractPhysicsControl implements P //interpolating between ragdoll position/rotation and keyframed position/rotation tmpRot2.set(tmpRot1).nlerp(link.bone.getModelSpaceRotation(), blendStart / blendTime); - position2.set(position).interpolate(link.bone.getModelSpacePosition(), blendStart / blendTime); + position2.set(position).interpolateLocal(link.bone.getModelSpacePosition(), blendStart / blendTime); tmpRot1.set(tmpRot2); position.set(position2);