Original Post
Due to my incompetence with 3D math ( I am top notch with 2D math if I say so myself. And I do. ^^ ) and my dumb human brain, I am having a hard time trying to get my "tank" to be at the appropriate angle on a hill. I'm using heightmaps. My idea is to find the normal in the last position vector to the new one. Once I find the normal, I find the angles to change to and I rotate. I got nothing. Sometimes it seems like it works but it'll have seizures or it'll just spazz out in 3D space. I'm using C++ if it helps anyone. It would be great to stop suffering about this. ... Dumb tanks.