Skip to main content
gamedev.net
🔒 Locked

Another question about vector math

Started by Alessandro 1 reply 650+ views
Original Post
Alessandro
Alessandro
Hi, please take a look at the following image:

point_vector.jpg

P1 coordinates are known, and we have P1 normal vector. I'd like to retrieve the coordinates of a point P2, which is at (P1+someValue), along P1 normal.
How would I do that with vectors ?
Thanks
Brother Bob
Brother Bob
Assuming that the normal is of unit length: P2 = P1 + someValue*normal.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.