Posts: 57
Threads: 9
Joined: May 2009
Reputation:
0
It is hard to explain, I've prepared some screenshotes. So, it is a geometric question. Help me please with solution of this problem. How can I get coordinates of the point to the right of vehicle, based on vehicle coordinates and other information?
P.S. Vehicle ID - 588.
Posts: 1,336
Threads: 30
Joined: Aug 2010
Reputation:
0
may be unsure though
u can use combination of these functions IsPlayerInVehicle GetPlayerPos then Get x y coordinate and use IsPlayerinrangeofpoint
Posts: 5,314
Threads: 12
Joined: Aug 2010
Reputation:
0
The first step is to obtain the rotation.
The second is the position (X, Y, Z).
So trigonometry. Pythagoras, etc.
Posts: 57
Threads: 9
Joined: May 2009
Reputation:
0
Thanks again, it works fine! But can you give me theorems on which this solution is based on?