Is there a possibility to define the direction of sending a message?? for example, the sender vehicle wants to send a message only to the vehicle behind? I thought of using Directional antennas; I found this function :
double Antenna::getGain(Coord ownPos, Coord ownOrient, Coord otherPos)
But i don't know how to use it. would you give me a hand please?