SA-MP Forums Archive
Atached camera rotation. How can I do that? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Atached camera rotation. How can I do that? (/showthread.php?tid=377756)



Atached camera rotation. How can I do that? - HeLiOn_PrImE - 15.09.2012

So I attached an object to the player's car, and the player's camera to the object, right?
Here's the problem: How can I decide the camera view regarding the car's origin?
SetPlayerCameraLookAt works only for fix points (like a set of random coords).
I want the camera to look in front of the car regardless of the car's rotation. Any Ideas?


Re: Atached camera rotation. How can I do that? - HeLiOn_PrImE - 16.09.2012

nothing?