-
Drawing a Spline Between 2 Objects in Xpresso
I have a 2-point spline that I’ve connected each point to a different object using a Point node, effectively creating a line between the 2 objects no matter where they go. However I need to be able to control the length of the spline- so I can animate it “connecting” to the 2nd object.
Tried some vector math but couldn’t quite get it right. Do I need to use a Dot Product node to calculate the angle and then multiply that against some value to control the length of the spline? Or is there some easier way I’m completely overlooking?