Camera Looking - 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: Camera Looking (
/showthread.php?tid=347386)
Camera Looking -
Incubator - 01.06.2012
Hi,
How do I make a player's camera look towards a certain angle (not position), while he moves?
For example, I want to attach a player's camera to a vehicle (using attached objects) and lock its direction so it will only look in front of the vehicle. Is this possible?
Thanks.
Re: Camera Looking -
MP2 - 01.06.2012
I don't follow 100%. You want to do what?
You can use AttachCameraTo(Player)Object and Attach(Player)ObjectToVehicle, but can't set/lock the direction. The player has control.
Re: Camera Looking -
tyler12 - 01.06.2012
https://sampforum.blast.hk/showthread.php?tid=330879
Re: Camera Looking -
Incubator - 01.06.2012
I want to attach a camera to a vehicle, and make it look always forward, without the option to make the camera rotate.
Re: Camera Looking -
Incubator - 01.06.2012
Quote:
Originally Posted by tyler12
|
This won't help me.
Re: Camera Looking -
MP2 - 01.06.2012
Quote:
Originally Posted by Incubator
I want to attach a camera to a vehicle, and make it look always forward, without the option to make the camera rotate.
|
Perhaps you should just totally ignore my post and re-ask the question I gave an answer to.
Quote:
Originally Posted by MP2
You can use AttachCameraTo(Player)Object and Attach(Player)ObjectToVehicle, but can't set/lock the direction. The player has control.
|
Re: Camera Looking -
Incubator - 01.06.2012
Haven't seen that line, alright.