shooting and collision detection works