0
$\begingroup$

Yet again, I am have problem with the curve-modifier. So I did exactly (or at least I believe I did) as what others told me in my last question:

set origin of the curve to its geometry > set cursor to the curve > set origin of the tube to its geometry > move the tube to the cursor

And then I applied the curve-modifier and move it along the Z-axis. But for some reason, the tube ran out of the curve and they were not aligned any more. The same happened to the cylinder array that is supposed to run along the curve as well. I tried rotating the tube and change the axis, but it still didn't work.

Could anyone please point out what I missed in these steps? The file is attached as follows: the tube and cylin_array are the application of curve modifier, whereas the tube.001 and cylin_array.001 are after the application.

$\endgroup$
2
  • $\begingroup$ hello, there are 4 objects, which one do you want to follow the curve? $\endgroup$
    – moonboots
    Apr 1 at 14:54
  • $\begingroup$ Thanks for your comment. I'd like both "tube" and "cylin_array" to follow the curve. The "tube.001" and "cylin_array.001" is an example of what I am having now after applying the curve modifier. $\endgroup$
    – yggthir
    Apr 2 at 9:37
1
$\begingroup$

What you need to do when you want an object to correctly follow the curve is to put both the curve and the object origin at the exact same place. So here:

  • Select the curve, press ShiftS > Cursor to Selected
  • Select the object (for example tube) and press ShiftS > Selection to Cursor
  • Give your object a Curve modifier, find the right Deform Axis (here -Z)
  • The object is a bit shifted, it's because you've rotated it and didn't apply the rotation, you need to apply (ShiftA)
  • If you want the curve to go in the opposite direction, switch to Edit mode, right click and Switch Direction
$\endgroup$
2
  • $\begingroup$ Thanks so much for your help. I have no idea why a rotation was (not) applied to my curve. Where/what should I check to prevent similar situations from happening? $\endgroup$
    – yggthir
    Apr 2 at 14:37
  • 1
    $\begingroup$ You can't really prevent that, if you really don't want an object to rotate you can lock its rotation value in the N panel but anyway when you use array along curve you always need to check few things to make sure that it will work correctly, like applying the transform (make sure that the handle radius are set at 1 in the N panel though), checking the normal directions, match the origins, etc... $\endgroup$
    – moonboots
    Apr 2 at 14:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.