Hello all,
I am currently working on a game project and I was wondering if anyone could help me with a particular transformation. The transformation I am looking to accomplish is the "tilt" transformation similar to the Google Maps application in Android or the Apple Maps application on iOS. The tilt gesture I am talking about should be well known to anyone who uses either of these platforms. I have been trying to figure out the mathematical transformation required to mimic this effect. I initially thought a rotation on the x-axis would work, but that did not create the desired effect. I then tried rotation on the x-axis with compensation in the y-direction, which does give the effect to a degree, but it doesn't seem the same. Does anyone know what the transformation they are doing is? Thanks in advance.
-Adam
Popular Topics
Advertisement
Recommended Tutorials
Advertisement