Re: Tangent for 3D vectors




<kalaiselvam.p@xxxxxxxxx> wrote in message
news:b16b02bc-6d9b-4043-afa7-4ec5ec651931@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Dear All,

I am developing a 3D car game in C++ using openGL. To calculate the
Ground Velocity, I need the formula to calculate tangent for 3D
vector. I got the tangent for 2D vector from some game samples (i.e.,
Tangent for 2D vector (x,y) = (-y,x)). Please help me to find out the
tangent for 3D vector.

(-y,x) is perpendicular to (x,y). ((y,-x) is also perpendicular in the other
direction.)

For the vector (x,y,z), there are any number of vectors perpendicular to it.

You need to be clearer as to what you need.

--
Bartc



.



Relevant Pages

  • Re: Tangent for 3D vectors
    ... I am developing a 3D car game in C++ using openGL. ... Ground Velocity, I need the formula to calculate tangent for 3D ... The right-hand permutation guarantees ...
    (comp.graphics.algorithms)
  • Re: Tangent for 3D vectors
    ... I am developing a 3D car game in C++ using openGL. ... Ground Velocity, I need the formula to calculate tangent for 3D ... but read their FAQ first. ...
    (comp.programming)
  • Re: Tangent for 3D vectors
    ... Ground Velocity, I need the formula to calculate tangent for 3D ... I got the tangent for 2D vector from some game samples (i.e., ... is perpendicular to. ...
    (comp.programming)
  • Tangent for 3D vectors
    ... I am developing a 3D car game in C++ using openGL. ... Ground Velocity, I need the formula to calculate tangent for 3D ...
    (comp.games.development.programming.algorithms)
  • Tangent for 3D vectors
    ... I am developing a 3D car game in C++ using openGL. ... Ground Velocity, I need the formula to calculate tangent for 3D ...
    (comp.graphics.algorithms)