07.03.2010, 00:07
I mean something like:
If the vehicle is going to the right side x is +.
If the vehicle is going to the left side x is -.
If the vehicle is going forward y is +.
If the vehicle is going backward y is -.
Doesn't matter where the vehicle is facing at...
How do I get that?
If the vehicle is going to the right side x is +.
If the vehicle is going to the left side x is -.
If the vehicle is going forward y is +.
If the vehicle is going backward y is -.
Doesn't matter where the vehicle is facing at...
pawn Код:
(+y)
.
.
.
.
(-x)---- ˄ ---- (+x)
.
.
.
.
(-y)
those are x and y velocity of a vehicle driving to the north of the map.
pawn Код:
(-x)
.
.
.
.
(-y) ---- > ---- (y)
.
.
.
.
(+x)
those are x and y velocity of a vehicle driving to the right of the map.