diff --git a/engine/src/bullet/com/jme3/bullet/objects/PhysicsCharacter.java b/engine/src/bullet/com/jme3/bullet/objects/PhysicsCharacter.java index 3be267f94..d9ee34d0d 100644 --- a/engine/src/bullet/com/jme3/bullet/objects/PhysicsCharacter.java +++ b/engine/src/bullet/com/jme3/bullet/objects/PhysicsCharacter.java @@ -150,7 +150,7 @@ public class PhysicsCharacter extends PhysicsCollisionObject { } public void setJumpSpeed(float jumpSpeed) { - this.jumpSpeed = fallSpeed; + this.jumpSpeed = jumpSpeed; setJumpSpeed(characterId, jumpSpeed); } diff --git a/engine/src/jbullet/com/jme3/bullet/objects/PhysicsCharacter.java b/engine/src/jbullet/com/jme3/bullet/objects/PhysicsCharacter.java index 0cd38b546..ec56b43ab 100644 --- a/engine/src/jbullet/com/jme3/bullet/objects/PhysicsCharacter.java +++ b/engine/src/jbullet/com/jme3/bullet/objects/PhysicsCharacter.java @@ -141,7 +141,7 @@ public class PhysicsCharacter extends PhysicsCollisionObject { } public void setJumpSpeed(float jumpSpeed) { - this.jumpSpeed = fallSpeed; + this.jumpSpeed = jumpSpeed; character.setJumpSpeed(jumpSpeed); }