I know there are a lot of brains out there. Please help me with this. I am trying to create a 3D - Navigation system using SIN and COS to create depth. I can get it to rotate about the Y axis just fine(left to right movements), but I am having trouble making it rotate around the X axis.
Also, after I get that, I planned to put them together to make it rotate around both X and Y axis based on mouse position.
.FLA is attached, feel free to use the code, thanks guys!
i can't download your file and making a new one is bugging me because i can't get it to work. i have posted twice on different things that you will need so read them and see if they will help:
an important thing to remember is to first rotate about the one axis by using variables called newZ and newY (around x-axis) and then sub those values back into the variables for position and then repeat using newZ and newX (y-axis) before subbing in again. this is because the rotation equations rely on the original position in both dimensions so if you change one first it won't work