Moving Camera With Swipe In Increments
My question is , whats the best way to set this up....
I want the user to be able to select which level (or chapter) he would like to go to using one long scene (iPad horz.2048 x 768), Using a swipe motion to navigate through the chapter selections. I tried a simple swipe detector...that detects which direction the swipe is. But I'm not sure how to set (scene.camera.origin.x) to move accordingly.
Edit: I can get the camera to move but not stop.
I would like to have the camera only move to the X.Pos. of the next chapter image on either side and stop (ease in). I can set the images up dividing the space equally so the camera could move say +256 or -256(equal increments). I think I would want to use interpolate to move the scene.camera.origin.X, but only in increments how does one do this?
Comments
You can try our free coverflow template over at DBA which might help.
http://www.deepblueapps.com/free-coverflow-template-gs/
Thanks Darren, I don't know how I missed that one.