So when I drop my striker controller, it has to check that if it is overlapping any token then its position should be set to the nearest correct position.
You can take reference from YouTube video
youtubr link - https://youtube.com/shorts/Nmz77KtqQcU
Develop games in your browser. Powerful, performant & highly capable.
Hi you can check the collision of the striker and when occurring through the for loop check the distance from the striker to each correct position and select the closest and move it there.