Basic collision logic added.