copied ryan's code for testing camera collisions to the enemy's camera