Position of a point
-
Hi all!
Answer is certainly easy, but I don't know how to do...I want to find position of a point, determining by :
- Position of an initial point
- Distance
- Vector
How can I find this point?
-
Ah great!! It works perfectly!
vector.length
.... I didn't aware of that!
Thank you Chris! -
use point.offset
point1 = (the known point position) vector = (the known vector position) distance = (the known distasnce) vector.length = distance point2 = point1.offset vector
That will then give you point2 as the new point. The
vector.length = distance
line sets the known vector to the desired length - you can skip it if you know that your vector is already set to the correct length. Hope that helps,Chris
-
Excellent, glad it helped (and worked). I also just edited a minor typo in the example, but I'm sure you figured it out even with the typo,
Chris
Advertisement