General collision logic update.