Hi everyone, I am taking the summer to try and develop a game for the android operating systems… I am not entirely new to programming, I just finished my bachelors in computer science, but I still have much learning to do…
My Problem, I want to map user touches on the screen of my phone into my 3d world drawn with opengl… I have a plane that lies perpendicular to the y axis which is my floor and a bunch of planes perpendicular to the floor which represent buildings. i need to determine if the user touched the floor or a building, if they touched the floor then they are going to be panning through the world, but if they clicked on a building they get an action menu for that building menu… the menu and panning are not the issue but determining where they have touched is…
the screen registers touches as an x and y coordinate increasing x across to the right and increasing y down towards the bottom of the screen…
Thanks for your time and help,
~Spaceaholic