Quantcast
Viewing all articles
Browse latest Browse all 10823

[sharing] gyroscope-controlled camera on iPhone 4

Now that Unity 3.4 has support for the iPhone 4 gyroscope it makes a fantastic virtual camera controller.

Took a bit of work to sort out the various orientation issues, so I thought I'd save anyone else the trouble.

Example package attached. Enjoy!

[updated so that it works even if camera already has a parent ie character controller etc]

Viewing all articles
Browse latest Browse all 10823


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>