Created a check collision function. Need to fix bullet animation