05.06.2010, 22:27
Hi
I'm making some speed radar.
This is how it should work:
You look in an direction.
You can check the speed of a vehicle in range of 100.
The angle degree would be 15.
The speed radar shall not find any vehicles outside the 15 degree and 100 range.
It shall find the closest vehicle that follows up with the requirements.
A vehicle that is beside him or behind him shall make no effect on this speed radar.
But to start it out, i need to know how i'm going to find the players position, players angle and vehicles position.
To find the location of these things is easy, but how to put them all together so it works as i explained?
Much appreciated for any help.
I'm making some speed radar.
This is how it should work:
You look in an direction.
You can check the speed of a vehicle in range of 100.
The angle degree would be 15.
The speed radar shall not find any vehicles outside the 15 degree and 100 range.
It shall find the closest vehicle that follows up with the requirements.
A vehicle that is beside him or behind him shall make no effect on this speed radar.
But to start it out, i need to know how i'm going to find the players position, players angle and vehicles position.
To find the location of these things is easy, but how to put them all together so it works as i explained?
Much appreciated for any help.