1
$\begingroup$

I am trying to have an object's position map to a curve. I have drawn a curve, extended it a few times using an array modifier, converted it to a mesh to apply the modifier and then back to a curve, and created a cylinder to travel along the curve.

enter image description here

When I apply the curve modifier, the object disappears in object mode and isn't visible in render, but is still visible, unmodified, in edit mode. Changing the deform axis makes no difference. Cylinder disappears after applying modifier

Cylinder visible in edit mode.

If I remove the modifier, the cylinder reappears. Strangely, if I open a new blank project and use the same technique, it works fine. So it seems to be an issue just in this project. Is there anyone with any idea of what is going on or why my object might be disappearing/not mapping?

Here is the file: https://pasteall.org/blend/5223d9832d2e43d1ac1ab31717a69796

$\endgroup$
2

1 Answer 1

1
$\begingroup$

Open the N panel: Your curve has a X scale of 0, bring it back to 1 and rather go in Edit mode and scale 0 on X (or apply the scale of the object and bring its vertices radius back to 1). Then you just need to correctly orientate your cylinder, for example RX90 in Edit mode then in the modifier choose Deform Axis > Z then move it on Y so that it follows the curve.

$\endgroup$

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.