If anyone has created an iPad app that utilizes the pinch gesture for zooming in within a 3D world, can you please give me the name so I can download it?
Thanks!
Tana
If anyone has created an iPad app that utilizes the pinch gesture for zooming in within a 3D world, can you please give me the name so I can download it?
Thanks!
Tana
I’ve attached the code from a camera controller for an rts game that I was working on then and abandoned. You’ll notice the function checkMoveAndZoom() I have some iPhone specific code that will also work for iPAd that was for detecting pinches and controlling the zoom from that. I commented some of it at the time, but it appears I didn’t comment that section so hopefully you can figure out whats going on in there. The camera was designed to work with both desktop and iOS environments.
Good Luck!
487501–17121–$RTSCameraController.cs (9.15 KB)
Thanks so much to both of you!
Tana