Can someone tell me what the FromScreenToWorld and FromWorldToScreen functions do as I want to add buttons to control a game and the touch coordinates are all over the place? (If those are the right functions to use)? I don't know whether the button should be a texture or sprite or what, as there is so much information?
I can get the start x position and start y position parameters, but testing for the width and height for touch (as in destruct in gameview) is proving a problem?
I just need a push in the right direction on setting the height to suit both real world and screen to test.
Malky
I can get the start x position and start y position parameters, but testing for the width and height for touch (as in destruct in gameview) is proving a problem?
I just need a push in the right direction on setting the height to suit both real world and screen to test.
Malky
Last edited: