Re: Tangent for 3D vectors



On Apr 27, 12:09 am, "Bartc" <b...@xxxxxxxxxx> wrote:
<kalaiselva...@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

Thanks for all. I got the solution after getting the normal to that
vector.

Regards,
Kalai
.



Relevant Pages

  • Re: Geometry with parabola...
    ... proof that the tangent is the perpendicular ... The radical axis of these two circles (locus of points with same ... It intersects the directrix in I. ...
    (sci.math)
  • Re: Gravity and the Sun
    ... > The only non-degenerate conic section in question is the ellipse. ... The perpendicular to the tangent to the ellipse (of nonzero ... Thus anywhere along this leg of the orbit the Earth will have ... The tangent itself gives the direction of the velocity vector. ...
    (sci.physics)
  • Re: Geometry problem...
    ... >> point F. Line passing through point F and perpendicular to line BD, ... Let a triangle PAB have an incircle with incenter H and let the ... incircle be tangent to ... hence the locus of F is the circle with diameter AB. ...
    (sci.math)
  • Re: Geometry problem...
    ... AC and BD can perpendicular to each other in which case ... > Let a triangle PAB have an incircle with incenter H and let the ... > Let a secant CD, C on PA, D on PB with CD tangent to incircle, to get ... perpendicular diagonals always result in symmetrical quadrilaterals? ...
    (sci.math)
  • Re: Tangent for 3D vectors
    ... kalaiselvam.p@xxxxxxxxx schrieb: ... Ground Velocity, I need the formula to calculate tangent for 3D ... I got the tangent for 2D vector from some game samples (i.e., ...
    (comp.games.development.programming.algorithms)