SA-MP Forums Archive
GetPlayerCameraUpVector lost? - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: GetPlayerCameraUpVector lost? (/showthread.php?tid=176169)



GetPlayerCameraUpVector lost? - RSX - 12.09.2010

Now there's only one camera function? why... I for example could use UpVector as far as i remember it!


Re: GetPlayerCameraUpVector lost? - Voldemort - 12.09.2010

This function was removed, right reason dont know, I just have heard because its useless and something with memory.


Re: GetPlayerCameraUpVector lost? - RSX - 12.09.2010

Nice. It was so "useless" as as most of stuff removed. Now I'll get some giant problems of making script with camera detection and i think most others of camera scripts were connected with it. Bye cool feature. What will we lose next, hydra and nrg maybe because they're too fast...


Re: GetPlayerCameraUpVector lost? - Simon - 12.09.2010

I believe you can use GetPlayerFrontVector then find the up (perpendicular) vector using dot products, I can't remember how this is done. Maybe the up vector was being sent over network and was removed to save bandwidth since we can calculate it ourselves. The front vector is usually used more than the up vector, one is just a rotated version of the other if I've understood the function correctly.


Re: GetPlayerCameraUpVector lost? - RSX - 12.09.2010

Ok i mapped most of it out now. Much more has to be done >.< .