瀏覽代碼

TestJaime: longer "JumpForward" animation to cut risk of incomplete jump

Stephen Gold 4 年之前
父節點
當前提交
79788024bb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      jme3-examples/src/main/java/jme3test/animation/TestJaime.java

+ 1 - 1
jme3-examples/src/main/java/jme3test/animation/TestJaime.java

@@ -152,7 +152,7 @@ public class TestJaime  extends SimpleApplication {
         stateManager.attach(cinematic);
         
         jaime.move(0, 0, -3);
-        AnimFactory af = new AnimFactory(0.7f, "JumpForward", 30f);
+        AnimFactory af = new AnimFactory(1f, "JumpForward", 30f);
         af.addTimeTranslation(0, new Vector3f(0, 0, -3));
         af.addTimeTranslation(0.35f, new Vector3f(0, 1, -1.5f));
         af.addTimeTranslation(0.7f, new Vector3f(0, 0, 0));