Burgershot
[Suggestion] GetVehicleRotationQuat & GetVehicleZAngle - Printable Version

+- Burgershot (https://www.burgershot.gg)
+-- Forum: open.mp (https://www.burgershot.gg/forumdisplay.php?fid=40)
+--- Forum: Questions and Suggestions (https://www.burgershot.gg/forumdisplay.php?fid=42)
+--- Thread: [Suggestion] GetVehicleRotationQuat & GetVehicleZAngle (/showthread.php?tid=1420)



GetVehicleRotationQuat & GetVehicleZAngle - Bakr - 2020-12-14

Are there any plans to fix these functions for unoccupied vehicles? Referencing the tip on the wiki
Quote:There is no 'set' variation of this function; you can not SET a vehicle's rotation (apart from the Z angle) This function may return incorrect values for unoccupied vehicles. The reason is that the third row of the vehicle's internal rotation matrix gets corrupted if it gets updated while unoccupied.