That's what I am figuring. When I set up my initial map, What I thought was looking at xyz so I set up the camera and objects with that in mind. There was a kink that should of told me I was looking at the world a bit off. I had to pitch my planets so that the skins would be horizontal flat (top down view would be the top).
So I then continued working, I set up the camera to get a close side view. When I did this, whipped the camera to new location, the view went all vertical and I got the "Y" axis weird flipping.
After experimenting with different camera views and code I finally decided to post to see if other people had the same problem. Then went back to coding another 2 hours went by of experimenting with the camera and I ran across a post using another command. The "dbSetCameraToFollow" witch can orbit around a object at specific distance and height. This should be that I built my 3d map space sideways in respect to the default way DGK handles the camera. So I changed the math for the orbit calculations to run with the X and Z and left the Y as the height. The end result having to move the map around gave me a nicer looking solar system.
and the Side shot of the Planet, which later will be put into it's own little window and image.
So I figure what went wrong is that my 3dspace map was being viewed from the side, correcting that gave me the view I was looking for. Besides I get re post all my pictures..
Neuro Fuzzy Quote: "Out of interest, I kinda want to try to solve the original problem... But I'm not exactly sure what your code is doing...
I'm guessing...
POSITION_SetPositionXYZ(); positions the camera, and you then use the point camera command to turn the camera towards the planet?
Then, when your x angle gets to be 90 or 270 degrees, the camera's roll shifts by 180 degrees?
If so, point camera is the culprit, and I know of a not too hard solution involving rotation matrices." "
I think you are right, I could not figure that out, so I changed the world to match the camera. Still early enough to do that in this stage of development.
There are many answers but just one question" ~ Jerilith the Mad