- Home /
mouseOrbit script for android
i want to convert my app to android, so far it is going good. although some things work by default for camera rotation and selection of object with just using Input.GetMouseButtonDown(0) or similiar i noticed that it could be better.
rotation of camera does not work good. for example if i start moving from left to right with my finger it rotates fine, but when i go back and press on screen and start moving again from left to right camera jumps to the inital position, it's like somehow when click is finshed some data is not updated...it works good in web player and editor.
can someone point me in the direction where i can learn these things about input for tablets (android) or if there is a mouseOrbit script for android/iphone.
thanks!
You'd need to show code. It sounds like you're using the touch position directly as the angle, rather than adding the new rotation to the current one.
Your answer
Follow this Question
Related Questions
Unity 4, Multitouch/FingerId and Android 1 Answer
question about touches for iOS/Android 2 Answers
Android multitouch problem 1 Answer
How to make ridigbody2D continue physics path after drag 1 Answer