Infinite amounts of jumping

Not sure if this is the correct place to ask/inform about the assumed bug in JMonkey 3 RC2.

In the tutorial nr 9: Hello Collision, player object uses CharacterControl class for the moving around the map. If I put player.jump(); in update, the character can jump infinetly. I assume this is because the class only checks that the up-speed is 0 or almost 0, and you are able to jump again at the parabels highest point.

Is this intended or just a bug?

If you don’t want an infite jumping, you need to check when the player are on the ground, so :

[java] public void jump()

Here, I use the BetterCharacterControl control.

1 Like