Function for checking with a collidable