Vectors

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

Recommended Posts

ok this may be a stupid question, but im a little confused. a Vector (magnitute and direction). so lets say we have a vector V={2,5,7}, now how do we determing the direction? is the direction from origin to that point (2,5,7)?

Share on other sites
Yes.

A vector is little more than a direction with a magnitude (that raw direction being a "normalized" vector). V(3, 5, 7) will generally be right, more upwards than right, and more out of the screen (depending on which +z is) than twice rightwards.

A normalized vector is merely one with length = 1.

V(1,1) is a non-normalized vector that points at a 45 degree angle. V(0,1) points up and is normalized.

• What is your GameDev Story?

In 2019 we are celebrating 20 years of GameDev.net! Share your GameDev Story with us.

• 9
• 33
• 16
• 11
• 10
• Forum Statistics

• Total Topics
634122
• Total Posts
3015635
×