Select from multiple character to move
I'm implementing an android game which has the concept of a Filipino game called "Patintero"
I have 3 players and 3 taggers (enemies). If the user touches Player A, he could control it by tapping the screen so it would move forward and it used accelerometer to move it left/right. And if he will touch Player B, same things apply.
I'm trying to implement it, I found some tutorials about raycasting and tried it, but it is in 3D and my game is in 2D. And it doesn't solve what I need.
I tried googling some other possible ways it would suggest me but I can't seem to find one that suits my needs. I'm just very new to unity. Hope someone could help me with this.
Your answer
![](https://koobas.hobune.stream/wayback/20220612074114im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Rigidbody blocking raycasts 2D 0 Answers
2D raycast not working 0 Answers
Is there any way how to do raycasts like this? 0 Answers
Raycast returns 0 instead of mouse position 0 Answers
2D Platformer Shooting - Raycast Issue 0 Answers