Leyder Dylan
07-27-2002, 08:04 AM
Hi,
I'd like to calcul the traject for
my bullet but I've a trigonometric problem
and it's so far for me, about 4 years ...
Here's my example :
http://ibelgique.ifrance.com/Slug-Production/Images/Vector.jpg
I've a vector who begins at X, Y ==> (0,0)
His length is : 10
On the example, if the angle is equal to 0°,
the vector's direction will be X,Y ==> (0,10).
But my question is, where will be the vector
if the angle equals 30° ???
So, I must consider this :
- The angle
- The lenght of my vector
What's the formul for calculating this ?
It's possible to apply this formule
with a example. I'm gonna take this example.
1)
- The anle = 0°
- The vector's lenght = 10
2)
- The angle = 90°
- The vector's lenght = 10
==> In this case, X will be equal to - 10 and Y to 0
I'd like to calcul the traject for
my bullet but I've a trigonometric problem
and it's so far for me, about 4 years ...
Here's my example :
http://ibelgique.ifrance.com/Slug-Production/Images/Vector.jpg
I've a vector who begins at X, Y ==> (0,0)
His length is : 10
On the example, if the angle is equal to 0°,
the vector's direction will be X,Y ==> (0,10).
But my question is, where will be the vector
if the angle equals 30° ???
So, I must consider this :
- The angle
- The lenght of my vector
What's the formul for calculating this ?
It's possible to apply this formule
with a example. I'm gonna take this example.
1)
- The anle = 0°
- The vector's lenght = 10
2)
- The angle = 90°
- The vector's lenght = 10
==> In this case, X will be equal to - 10 and Y to 0