I’m so used to Xith3D to set the camera location using matrix4f. I trying to move the camera along the x and y axis without affecting the rotation. ( The image remains 2D with sharp edge ). In Xith3D you just need to set the matrix4f values into the camera position. Since there is no function in JMonkey I have tried the following.
- setParallelProjection( true ) to mimic a 2D.
MONKEY_ENGINE.getCamera().lookAt(vec_camera_direction, Vector3f.UNIT_Y);<br />
No matter what values I tried, the image still distorted. Can anybody help me on this ?