A system of vehicles that interact with each other

and what about the interaction logic? how will they interact with each other? like hitting the nearest vehicle for example.