|
My game has a Orthographic camera, and i want to move a gameobject based on the touch input on a iOS device. What is the best way to translate the touch position to the gameobjects X & Y position. So the gameobject stays exactly on the toch position?
(comments are locked)
|
|
I managed to solve the problem by feeding the touch position into Camera.ScreenPointToRay. And then applying the result to the gameobject. Thank you for stating how you solved your problem. Too few times do I see questions get resolved and no follow-up done to let others know how it was solved. :)
Sep 13 '10 at 12:20 PM
GravitySpec
(comments are locked)
|
