THE PROJECT COLLISION DETECTION IS using signal instead variable. that does not make anything better, because the variables are being used only within the scope process. The variables are not being intended to be used as signal ( a real logic circuit ).