0
$\begingroup$

I'm trying to create a road from a plane and a curve which I obtained from converting a mesh. This mesh was at its turn obtained by using the shrink wrap modifier on two meshes. Explained in this question.

enter image description here

This is how the setup looks

I created a small plane at the lower left side of the path from top view, intended to be replicated along the path to form the road, as explained in this tutorial.

enter image description here

This is how the modifiers for the plane look.

enter image description here

And this is the monstrosity which I get when I select 'Road' as the Curve modifier's object

What I would like is that the plane would follow the path and create a road over the mountain. I tried playing with the settings of both modifiers but I'm not getting anywhere expected.

What am I doing wrong?

$\endgroup$
  • $\begingroup$ you should convert the road mesh into a curve using Alt+C $\endgroup$ – Chebhou Feb 6 '15 at 12:00
  • $\begingroup$ Did that, I thought I made it clear in the first paragraph. Without conversion it wouldn't show up in the Curve dropdown of the Array modifier. $\endgroup$ – janosrusiczki Feb 6 '15 at 12:18
  • 3
    $\begingroup$ I didn't go through the links you posted so I'm not sure what you've done or not done but one thing that is sure to cause a curve/object/array setup is to have origins at different places. $\endgroup$ – MarcClintDion Feb 6 '15 at 13:27
  • 1
    $\begingroup$ make sure the plane and the curve's origins are in the same place $\endgroup$ – cegaton Feb 6 '15 at 13:45
  • 2
    $\begingroup$ If you're able to upload a blend file to pasteall.org/blend that would help, at the minute it's guesswork. $\endgroup$ – Ray Mairlot Feb 6 '15 at 17:36
2
$\begingroup$

It was an origin related issue as suggested in the comments by MarcClintDion and cegaton.

What I did to fix it was:

  1. Switched to edit mode with the curve selected;
  2. Selected the first vertex of the curve;
  3. Snap Shift + S > Cursor to selected;
  4. Got out of edit mode;
  5. Set Origin Shift + Ctrl + Alt + C >Origin to 3D Cursor;
  6. Selected the plane;
  7. Set Origin Shift + Ctrl + Alt + C > Origin 3D Cursor.

Not sure if steps 6 and 7 are necessary.

Additionally because the generated road was getting crazy cambers in some parts I went to the curve's properties and set Twisting to Z-Up.

$\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.