open.mp forum
[Suggestion] GetVehicleRotationQuat & GetVehicleZAngle - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: open.mp (https://forum.open.mp/forumdisplay.php?fid=40)
--- Forum: Questions and Suggestions (https://forum.open.mp/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.