Yes, that’s a possibility. With collision callback, you’ll be able to detect the rectangle the ball is over.
I don’t how how performant it will be but I think it’ll be alright.
Check this for some more infos:
Yes, that’s a possibility. With collision callback, you’ll be able to detect the rectangle the ball is over.
I don’t how how performant it will be but I think it’ll be alright.
Check this for some more infos: