Hi everyone,
I managed to get my sprite working with the internal accelerometer of the iPhone just like in glGravity!
Now I want the sprite (2D) to work a little smoother with the accelerometer & magnetometer. Are there any tutorials out there?
My main goal is to change the transformation-matrix so that i can view the sprites which are currently not on the screen. I should see them, when I turn the camera a little... At the moment the sprite does not have a z-coordinate, so it it always stuck on the screen. Is there an easy way to do this? Maybe calculate the viewing frustum out of the accelerometer & magnetometer. Did somebody try this already?
The developer of Mach dice used this feature to simulate a nice 3D Effect with just calculating the view frustum out of the sensors of the iPhone...
I would really appreciate any help ;-)
Thanks Marinka