Ambient vehicles position
Posted: 05 Dec 2018 22:00
Hi,
I'm thinking of creating a mod for frontal collision warning, i.e. I'd like to trigger an audio warning if the user is approaching a vehicle in front with a large relative speed.
I was able to get the ego speed and position using the SCS SDK. However, I wasn't able to figure out a way to extract positions of AI cars.
Please let me know if it's possible at all.
Cheers
I'm thinking of creating a mod for frontal collision warning, i.e. I'd like to trigger an audio warning if the user is approaching a vehicle in front with a large relative speed.
I was able to get the ego speed and position using the SCS SDK. However, I wasn't able to figure out a way to extract positions of AI cars.
Please let me know if it's possible at all.
Cheers