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 vectorThat will then give you point2 as the new point. The
vector.length = distanceline 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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement