Problem with getting coords in front of my vehicle
#2

Look at this:

https://sampwiki.blast.hk/wiki/GetVehicleRotationQuat

One of this is your rotation in the first picture (I haven't checked which one it is). Calculate the Z angle of the new position with an inversed TAN.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)