diff --git a/engine/src/core/com/jme3/input/FlyByCamera.java b/engine/src/core/com/jme3/input/FlyByCamera.java index 7b439efe6..e4d48321c 100644 --- a/engine/src/core/com/jme3/input/FlyByCamera.java +++ b/engine/src/core/com/jme3/input/FlyByCamera.java @@ -110,6 +110,14 @@ public class FlyByCamera implements AnalogListener, ActionListener { public void setMoveSpeed(float moveSpeed){ this.moveSpeed = moveSpeed; } + + /** + * Gets the move speed. The speed is given in world units per second. + * @return moveSpeed + */ + public float getMoveSpeed(){ + return moveSpeed; + } /** * Sets the rotation speed. @@ -118,6 +126,14 @@ public class FlyByCamera implements AnalogListener, ActionListener { public void setRotationSpeed(float rotationSpeed){ this.rotationSpeed = rotationSpeed; } + + /** + * Gets the move speed. The speed is given in world units per second. + * @return rotationSpeed + */ + public float getRotationSpeed(){ + return rotationSpeed; + } /** * @param enable If false, the camera will ignore input.