# Objects Cloned To Formula Spline Don't Align At Beginning and End

#1

I am using a formula spline and cloning an object to it, but I noticed that the direction of the object doesn’t line up where the end of the curve meets the beginning:

Notice how 3, 4, and 5 are facing a different direction than 1 and 2. That’s where the end of the formula spline aligns with the beginning.

The formula spline is using the following three equations for the curve:

``````x(t)=100*sin(t*pI)
y(t)=50*sin(2*t*pI)
z(t)=100*cos(t*pI)*exp(sin(2*t*pi))
``````

Where t goes from -1 to 1 so that the curve is connected and continuous.

If I make t only go to 0.99, you can see how the hearts don’t align in this picture as well:

These are the cloner settings:

I want to use the “align” clone feature so that heart spline is always facing a camera moving tangential to the spline, but the problem is that there is an additional degree of freedom regarding how the heart spline is rotated after being aligned, and I don’t know how to control this.

I’m unsure if this is related to the mathematical torsion of the curve or something else, but I would prefer to have the hearts align at the beginning and end if possible. Any ideas on how to do this?

#2

Make a copy of the formula. Move the copy up on Y. Use copy as cloner rail.