I’ve been playing around trying to add new camera movement for my 3D engine. I had the simple orbit method and wanted to add a fly-throught type, basically like you are in a plane and can adjust the yaw,pitch and roll via keyboard and joystick. I posted some questions earlier and that got me on the right track but I’m still having problems.
Currently I save the camera position and rotation angles x, y,z. what I want is to have the new angles that are inputed to act on the current direction. I’ve got it mostly working but it still is a bit quirky.
This has certainly been solved before and I did search the newsgroup but didn’t find what I was looking for.
I have a couple of questions, should I use rotation angles (eulers) I’ve read that this causes problems. Does anyone have any good resources/links that they can point me to? I’m fine with the general operations Matrix mult etc. but I’m having problems getting the coordinate transformations to work in all cases.
Thanks for any resources!