|
Good morning! I am a novice Unity3D/Unity iPhone user. While I am confident in basic/intermediate programming skills, I am extremely unfamiliar (and quite frankly overwhelmed) with how Unity works..but at the same time really impressed with everyone's knowledge and support. I've run through every possible tutorial possible, and I still cannot seem to resolve my issue. In short, I am trying to create an application for the iPad that displays a 3D model, allows pinch to zoom in/out, and rotation of the 3D model (used a slightly modified version of Rozgo's amazing Planet gesture code that I attached to my camera object. http://www.rozgo.com/blog/?p=162). Also created a GUI layout at the bottom containing buttons that allow the 3D model to animate when pressed. My zooming in/out gestures work great, but when I click an animation, and try to pinch to zoom in/out while the 3d object is animating, the camera goes nuts, causing it to jump, zoom in when pinching to zoom out, zoom out when pinching to zoom in, etc. Is there a basic concept that I am missing here? In Unity, does an event occur when an animation plays that could possibly be affecting the camera's interaction. I'm guessing it has something to do with colliders (which I still do not 100% understand), but even when I click a dead animation button (a button that does change color but does not have an animation attached to it), the pinch-to-zoom still loses control. I apologize about the long post, but any advice anyone could offer me I would greatly appreciate!!
(comments are locked)
|

You should post your code as without looking at what you've written it is anyone's guess as to what the problem is.