FirstPersonHandler Wacky!

Okay, now I'm sure it's because I'm doing wacky things to my camera that causes this, but here it is anyway:



I am setting camera.lookAt(new Vector3f(0.0f, 0.0f, 0.0f), camera.getUp()) which seems to work just fine, but if I create a FirstPersonHandler after that the FirstPersonHandler doesn't act right.  The biggest problem is that instead of looking left and right when I move the mouse those directions I rotate that direction.  Does the FirstPersonHandler require the camera to be looking perfectly ahead for it to initialize correctly?



Thanks,



darkfrog

try setting cam.lookAt(new Vector3f(0, 0, 0), new Vector3f(0, 1, 0));

that way your camera up vector will point towards +y

tried that, didn't help…



darkfrog