I have a line with a start and end point. I need to move the initial point of a variable distance but always following the direction of the line.

enter image description here

If there any Node that allows you to do that easily?

Thanks for your help ;)


1 Answer 1


If you know the positions of the endpoints you can create a new vector and move the point in that direction like this: Subtracting a positional vector gives us with a direction we can scale

  • 1
    $\begingroup$ Exactly what I need, thank you :) $\endgroup$ Apr 23, 2023 at 16:40

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .