Bläddra i källkod

removed incorrect statement.

mitm 5 år sedan
förälder
incheckning
331b18ef75
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      src/docs/asciidoc/jme3/beginner/hello_collision.adoc

+ 1 - 1
src/docs/asciidoc/jme3/beginner/hello_collision.adoc

@@ -479,7 +479,7 @@ Remember when we set this variable earlier?
 player.setJumpSpeed(20);
 ----
 
-Here, `player.setJumpSpeed(20)` has no visible effect because its value is overridden when `jump(new Vector3f(0,20f,0)` is invoked in the onAction(). If you were to replace `jump(new Vector3f(0,20f,0)` with `jump(new Vector3f(0f,60f,0f))`, then the player jumps faster and higher, using the jump speed, as would be expected.
+Here, `player.setJumpSpeed(20)` has no visible effect because its value is overridden when `jump(new Vector3f(0,20f,0)` is invoked in the onAction(). If you were to replace `jump(new Vector3f(0,20f,0)` with `jump(new Vector3f(0f,60f,0f))`, then the player jumps faster and higher, as would be expected.
 
 If you were using the "`jBullet`" library for physics, you would manipulate the jump speed and calling jump would have the same effect.