05-16-2005, 11:59 AM
Along with the rotation, I got the ability to move the camera around, pitching and yawing up and down and moving in it's proper direction (with outrolling) just like if it was an FPS. Thats worth saving for if I wanted to make an FPS which I am not doing atm.
What I am trying to do is create a simple free flight simulator(probably descent style gameplay) using the camera. As in, the camera will turn left or right, pitch up and down and roll no matter what angle the camera is at.
The problems I am currently encountering is, when the camera looks up or down, it rolls. And then it's on the horizon, it turns. Same thing goes with rolling the camera. The rotation is somewhat fuberd up when I roll the camera and move it at the same time.
I am still a beginner at this rotation thing.. But I have gotten the use of the GL basics.
Anyways...
Heres the program(You need FreeBasic):
http://edice.arvixe.com/3dmvtest.bas
As for the controls:
Q, E to roll camera.
Left, Right to turn camera.
Up, Down to pitch camera.
W,S to move camera backwards or fowards.
I really don't have the time to solve this problem.
Yeah, I also included the wrapvalue and the MoveX,Y,Z with the angles function routes to make life a little easier.
Anyways, got to sleep.
What I am trying to do is create a simple free flight simulator(probably descent style gameplay) using the camera. As in, the camera will turn left or right, pitch up and down and roll no matter what angle the camera is at.
The problems I am currently encountering is, when the camera looks up or down, it rolls. And then it's on the horizon, it turns. Same thing goes with rolling the camera. The rotation is somewhat fuberd up when I roll the camera and move it at the same time.
I am still a beginner at this rotation thing.. But I have gotten the use of the GL basics.
Anyways...
Heres the program(You need FreeBasic):
http://edice.arvixe.com/3dmvtest.bas
As for the controls:
Q, E to roll camera.
Left, Right to turn camera.
Up, Down to pitch camera.
W,S to move camera backwards or fowards.
I really don't have the time to solve this problem.
Yeah, I also included the wrapvalue and the MoveX,Y,Z with the angles function routes to make life a little easier.
Anyways, got to sleep.