Breakout Paddle - Constrain to Screen
Cluv
Member Posts: 229
Hi!
I was wondering if anyone had an elegant way of constraining an object to touch on screen so that it stays on screen even if you drag your finger off-screen. I am creating a very simple mini-game for an educational app that has a paddle constrained to the x-axis of the touch but when I test it, I can drag it entirely off screen and lose it. Any thoughts?!
Thanks!
Charles
I was wondering if anyone had an elegant way of constraining an object to touch on screen so that it stays on screen even if you drag your finger off-screen. I am creating a very simple mini-game for an educational app that has a paddle constrained to the x-axis of the touch but when I test it, I can drag it entirely off screen and lose it. Any thoughts?!
Thanks!
Charles