From 432085c191da01dee11cc8e9a22cf26383ac5213 Mon Sep 17 00:00:00 2001 From: Stephen Gold Date: Fri, 26 Apr 2019 10:13:01 -0700 Subject: [PATCH] TestBoneRagdoll: reduce jumpiness during "toggle" actions --- jme3-examples/src/main/java/jme3test/bullet/TestBoneRagdoll.java | 1 - 1 file changed, 1 deletion(-) diff --git a/jme3-examples/src/main/java/jme3test/bullet/TestBoneRagdoll.java b/jme3-examples/src/main/java/jme3test/bullet/TestBoneRagdoll.java index d3ac39e1d..ee6e2f997 100644 --- a/jme3-examples/src/main/java/jme3test/bullet/TestBoneRagdoll.java +++ b/jme3-examples/src/main/java/jme3test/bullet/TestBoneRagdoll.java @@ -131,7 +131,6 @@ public class TestBoneRagdoll if (name.equals("toggle") && isPressed) { Vector3f v = new Vector3f(model.getLocalTranslation()); v.y = 0f; - model.setLocalTranslation(v); Quaternion q = new Quaternion(); float[] angles = new float[3]; model.getLocalRotation().toAngles(angles);