diff --git a/jme3-examples/src/main/java/jme3test/terrain/TerrainGridAlphaMapTest.java b/jme3-examples/src/main/java/jme3test/terrain/TerrainGridAlphaMapTest.java index ef0f6c1bb..cf5e9d75c 100644 --- a/jme3-examples/src/main/java/jme3test/terrain/TerrainGridAlphaMapTest.java +++ b/jme3-examples/src/main/java/jme3test/terrain/TerrainGridAlphaMapTest.java @@ -294,7 +294,9 @@ public class TerrainGridAlphaMapTest extends SimpleApplication { TerrainGridAlphaMapTest.this.down = false; } } else if (name.equals("Jumps")) { - TerrainGridAlphaMapTest.this.player3.jump(); + if (usePhysics && keyPressed) { + player3.jump(); + } } } };