Question by
arbazgillani · Feb 20, 2019 at 01:55 PM ·
unity 2draycasthit2dtap
Piano Tiles type tile smash game algorithm.
Hello guys, I am making a piano tiles type tile smash game using unity2d. What I am doing is on everytile there is a script and on its update i am transforming the tile downwards. There is another script which handles my touch. Whereever i touch it throws a raycast and detect if it touches the tile. The problem i am facing is that some times it doesnt hit the tile on the right tap. Can anyone tell me the reason? or can someone sort the algorithm of tile smashing on tap. Thankyou.
Comment