Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Cross Products and axis'es

This topic is 5800 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I''m having a little trouble understanding this... Lets say I have axis A that passes through origin and axis B that starts (or passes through) a given point c1 and move in the direction of vector v1 from that point. If i need the cross product between axis A and axis B, do I need to consider the point c1 in this calculation? Or is [ C = A x B ] enough? Does this question make sense what so ever Thanks anyhow /Johan

Share this post

Link to post
Share on other sites
yes, it''s enough, you don''t need to know the start point of the vectors for a cross product.
C = A x B
the answer will be independant from the start point of each vector.

Share this post

Link to post
Share on other sites

It''s enough, because a vector has no position by itself.
That''s why you have ie a vector for the view direction of
a camera, and a position vector of the camera.
The normal vector you just calculated can "start" anywhere,
at (6,6,6), at (0,8,15) or (4,7,11)...
A vector that points into the direction of your normal,
and has the same length as your normal, is identical to your
normal, of course this is valid for vectors in general.
The "start point" of a vector is where you define it to be.
A vector is relative. If you declare a vector (1,2,3)
to start at the origin of a coordinate system, the vector equals the point (1,2,3) in that coordinate system. It''s just
how you see it.

It is now for sure you can throw away your computer

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!