SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

Thread Tools Display Modes
Old 03/04/2010, 02:52 PM   #1
Big Clucker
Join Date: Sep 2007
Posts: 102
Reputation: 0
Default Vectors

I wanted to ask about vectors... how do they work?
As I remeber from my sleepy math classes then vectors are lines with starting coordinates and endind coordinates, but from useless physics classes I remeber that a force can be a vector and coordinate sum RMS is showing how large is the vector.
But I can't seem to understand how the vectors work in SA-MP, for example GetPlayerVelocity.
My goal is to figure out GetPlayerCameraPos, GetPlayerCameraFrontVector and GetPlayerCameraUpVector in order to create a simple script that would, for example, detect if I'm aiming at a object (coordinate range).
potato is offline  
Old 08/08/2010, 05:09 AM   #2
Big Clucker
Join Date: Jun 2010
Posts: 84
Reputation: 0
Default Re: Vectors
VictorMartinez is offline  

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Camera Vectors in R5 - how to use, READ THIS! JernejL Tutorials 22 02/11/2014 12:00 PM

All times are GMT. The time now is 02:55 AM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.