We are about to switch to a new forum software. Until then we have removed the registration on this forum.
i'm trying to do some kind of QTE game with p5.js, i have a question :
How can I check if the red line is touching the black or the white arc ?
To move the red line i'm using the rotate function so i'm not sure how i should proceed.
I think what I want is to have coordinates of everything so i could compare but the rotate function kind of prevent that.
Here's the code : https://pastebin.com/WXvGbT9g
It's my first program using p5.js so sorry if it's a stupid question.
Thanks for your help !
(sorry for my english)