diff --git a/jme3-jbullet/src/main/java/com/jme3/bullet/objects/PhysicsCharacter.java b/jme3-jbullet/src/main/java/com/jme3/bullet/objects/PhysicsCharacter.java index 9fcaa9516e..a5a2fda8b2 100644 --- a/jme3-jbullet/src/main/java/com/jme3/bullet/objects/PhysicsCharacter.java +++ b/jme3-jbullet/src/main/java/com/jme3/bullet/objects/PhysicsCharacter.java @@ -150,10 +150,13 @@ public float getJumpSpeed() { return jumpSpeed; } - //does nothing -// public void setMaxJumpHeight(float height) { -// character.setMaxJumpHeight(height); -// } + /** + * Alter the character's gravitational acceleration without altering its + * "up" vector. + * + * @param value the desired downward acceleration (in physics-space units + * per second squared, default=29.4) + */ public void setGravity(float value) { character.setGravity(value); }