I was thinking about making a game but i would have to detect the collisions of the materials with the machines but there will be many material flying aroung on conveyors. ive previously detected for many collisions with a list and looping through it. however there will be a lot of items in the list and may lead to very inefficient code so is there another way to go about this. ive also been wandering if there is a way to just duplicate that one rect for the materials and just check for that one rect.
My typing is probably very messy and might not make sense please let me know if i need to make clarifications.