I'm new to xith3D. I have gone through the GSG to get to learn the basic stuff and I'm playing around with the demos at the moment.

One of the things that I am trying to do is to create a walkaround for the TerrainTest demo. I can get the camera to move up and back along the X and Z axes using the keyboard as input, however i can't seem to get the camera to rotate around the Y axis (so i can turn using the keyboard)

I've tried many different things to get it going. My brains just a bit fried from trying to figure it out !

Just wondering if anyone can show this noob the light and point me in the right direction

I am finally able to rotate around Y axis using the keboard, but whenever I do and try to walk forwards or strafe in that direction the view resets (stays in the same position but faces the original direction)

In my main render loop all I am doing is checking for keyboard events..

maybe i have this all wrong but I thought that if I changed the Y (in accordance with the Y value of the terrain ) of positionVector and viewVector the camera should maintain a constant view level and position would follow the terrain. But what happens is the camera gets stuck at the y view and will not follow the mouse up or down while terrain following . when the camera stops - then normal mouse movement come back.

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org