diff --git a/engine/src/core/com/jme3/app/DebugKeysAppState.java b/engine/src/core/com/jme3/app/DebugKeysAppState.java index 2317c2833..8e7e3f943 100644 --- a/engine/src/core/com/jme3/app/DebugKeysAppState.java +++ b/engine/src/core/com/jme3/app/DebugKeysAppState.java @@ -108,6 +108,10 @@ public class DebugKeysAppState extends AbstractAppState { + loc.x + ", " + loc.y + ", " + loc.z + ")"); System.out.println("Camera Rotation: " + rot); System.out.println("Camera Direction: " + cam.getDirection()); + System.out.println("cam.setLocation(new Vector3f(" + + loc.x + "f, " + loc.y + "f, " + loc.z + "f));"); + System.out.println("cam.setRotation(new Quaternion(" + rot.getX() + "f, " +rot.getY()+ "f, " + rot.getZ() + "f, " + rot.getW() + "f));"); + } } else if (name.equals(INPUT_MAPPING_MEMORY)) { BufferUtils.printCurrentDirectMemory(null);