|
|
@ -131,7 +131,6 @@ public class TestBoneRagdoll |
|
|
|
if (name.equals("toggle") && isPressed) { |
|
|
|
if (name.equals("toggle") && isPressed) { |
|
|
|
Vector3f v = new Vector3f(model.getLocalTranslation()); |
|
|
|
Vector3f v = new Vector3f(model.getLocalTranslation()); |
|
|
|
v.y = 0f; |
|
|
|
v.y = 0f; |
|
|
|
model.setLocalTranslation(v); |
|
|
|
|
|
|
|
Quaternion q = new Quaternion(); |
|
|
|
Quaternion q = new Quaternion(); |
|
|
|
float[] angles = new float[3]; |
|
|
|
float[] angles = new float[3]; |
|
|
|
model.getLocalRotation().toAngles(angles); |
|
|
|
model.getLocalRotation().toAngles(angles); |
|
|
|