Hello,
I'm making a racing game, and I would need a car to get the relative speed of another car in front of it, to determine if it should keep drafting behind it or overtake/avoid slower or stationary cars.
I tried this with a raycast from the front of the car and storing the hit object, but I only get 0m/s from that.
Can anyone help how to properly do this?