TestBoneRagdoll: reduce jumpiness during "toggle" actions

accellbaker
Stephen Gold 6 years ago
parent 234bd476f3
commit 432085c191
  1. 1
      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);

Loading…
Cancel
Save