Collisions on moving objects

Yeah is see but the noLoop() statement start before the objects hit each other, maybe I am not using the dist statement right?