Array an Object Along a Curve in Blender (Tutorial)

Sdílet
Vložit
  • čas přidán 24. 08. 2024
  • In this Blender tutorial I will show you how to array an object along a curve.
    ● Road Texture: ambientcg.com/...
    ● Help support the channel:
    • Patreon: / ryankingart
    • Gumroad: ryankingart.gu...
    • CZcams Memberships: www.youtube.co...
    🎶 Music credits:
    Music: Lofi Hiphop Intro 44 by TaigaSoundProd
    Free download: filmmusic.io/s...
    Licensed under CC BY 4.0: filmmusic.io/s...
    _________________________________________________________________________
    ● My Website Links:
    • All links on my about page: ryankingart.wo...
    • Patreon: / ryankingart
    • Gumroad: ryankingart.gu...
    • Artstation: www.artstation...
    • Blender Market: blendermarket....
    • Sketchfab: sketchfab.com/...
    • Website: ryankingart.wo...
    #ryankingart #blendertutorial #blender

Komentáře • 169

  • @eitantal726
    @eitantal726 Před rokem +37

    I experimented with it a little. I learned a lot. Here's what I found:
    ------
    1. it MATTERS a LOT if you have your road stretch along the X axis, vs the Y,Z axes. Stretching along other axes requires an extra step!
    2. Make your road stretch along the X. The array should have +1 on the X, and the curve should curve along the +X axis. (Not -X!)
    3. The origin of the road segment Does Not Matter. The scaling matters! Apply scale to reset
    4. The origin of the curve matters, It should be the first point.
    5. The direction of the curve matters. It should point away from the origin.
    6. The curve must have no rotation. (Ctrl+A, Apply rotation, to reset rotation)
    If you want your road to stretch along the Y axis, then you'll have to introduce a rotation to your curve: R, Z, 90. (Important: Curve modifier still curves along X)
    If everything is done correctly, then:
    ----------
    1. Curve modifier should Not Move your object by an offset. Turn curve modifier on and off to verify that your object does not move.
    2. Your object should simply slide along the curve, but not move. It can slide against either side, or thru the center. Move your curve to verify that. If the object moves when you move the curve, the direction of the curve is opposite. switch direction
    Tip: Self intersection can occur. If the self-intersection isn't too severe, WELD modifier might be a quick fix.
    Note: It is possible to have no rotation on the curve, if you select -Y for axis, and -1 for array. Selecting +Y introduces a 90 degree rotation, -Y does not. This is not working as good, though: unwanted movement is observed in this technique.

    • @user-wh4wm3mw7l
      @user-wh4wm3mw7l Před 8 měsíci +2

      My God. In 3ds Max this is ridiculously easy to do.

    • @RealGaryGibson
      @RealGaryGibson Před 8 měsíci +1

      @@user-wh4wm3mw7l How much does 3ds Max cost?

    • @user-wh4wm3mw7l
      @user-wh4wm3mw7l Před 8 měsíci +2

      Blender is better than 3dsM in many ways, but some simple things are still complicated.

    • @p_enta5012
      @p_enta5012 Před 6 měsíci

      @@RealGaryGibson if youre in high school or college its free with a student license

  • @alfaunicorn81
    @alfaunicorn81 Před 7 měsíci +8

    As a tip for straighten up sharp turns in your road object to avoid extreme turns dosage:
    1. In Blender click on the Curve button in Properties panel.
    2. Look at the first panel called Shape where 3D is lit.
    3. Change Twist-method to -> Z-up.
    This is particularly important IF you gonna use the road/road segment for game assets where a vehicle is going to drive on the road and the road is going to have physics as well.

  • @Domzdream
    @Domzdream Před rokem +30

    Man, you just have the best tutorials. Hope you've been keeping well Ryan.

  • @gangger89
    @gangger89 Před 3 dny

    thx ryan, i often stumble upon your tutorials and they are always helpful. thx

  • @cosmicfish1000
    @cosmicfish1000 Před 6 měsíci +4

    Thank you for this. Simple and to the point. Great little tutorial.

  • @44celestino
    @44celestino Před 4 měsíci +1

    brooo, ive been trying to do that for years now following tuts but never succeeded, today I was finally able to make my objects follow a cuve, thx a lot.

  • @PinkPlume
    @PinkPlume Před rokem +3

    Very straightforward explanation, great for users who haven't delved into geometry nodes yet

  • @smilgu
    @smilgu Před rokem +7

    Thank You, Ryan! Simple and very effective solution!

  • @thatonegamer9860
    @thatonegamer9860 Před rokem +2

    Just came back to Blender after quite a long break. It's awesome to see that you're still making great tutorials for newcomers and people who are a bit rusty like me! Although, I will miss your art critique videos. Your comments on my renders have really helped me grow, and i can't thank you enough! (I can't believe it's been over a year!)

    • @RyanKingArt
      @RyanKingArt  Před rokem +3

      Welcome back! Yep I'm still making tutorials! And thanks to all of my supporters I am able to make Blender Tutorials for a living!

    • @thatonegamer9860
      @thatonegamer9860 Před rokem +2

      @@RyanKingArt You certainly deserve every subscriber. Your depth of field, composting, and material tutorials have been especially helpful (especially your procedural car paint).

    • @desrenearnold2885
      @desrenearnold2885 Před 5 měsíci

      ​@RyanKingArt I love your videos I watch them all keep on making more

  • @Justlivin00
    @Justlivin00 Před rokem +3

    You are definitely my favorite channel for blender. Thanks for everything! 😁

  • @Highcastle_of_Geek
    @Highcastle_of_Geek Před 3 měsíci

    This solved a big problem I was having with this procedure. I didn't realize it was important to center and apply location on the mesh and curve objects before assigning the curve. I was getting all sorts of weird twisted shapes and couldn't work out what I was doing wrong. Just adding that one step from your tutorial solved the problem. Thanks bunches!!

  • @jmh3d
    @jmh3d Před rokem +1

    Thanks for this. I'm making speaker wire and this seems to be the best way to have the jacket and the wire materials be on one object and follow an editable path.

  • @yandayixia
    @yandayixia Před 15 dny

    thanks for the tutorial!

  • @chuctanundaspiderbone5407

    Thanks, this is excellent. This works so much better than how I was trying to do it, and so simple.

  • @lassekalhauge4801
    @lassekalhauge4801 Před rokem +2

    Thanks Ryan - love all of your tutorials❤

  • @ttonygreybeard
    @ttonygreybeard Před rokem +2

    Explained very well & straight forward, Thank you Ryan.👍

  • @Fit-4-Life
    @Fit-4-Life Před rokem +3

    good job, I just realised that I needed that 🙂

  • @davidtalbot5514
    @davidtalbot5514 Před 5 měsíci

    To move curve in the Z axis without twisting, for hills etc:
    1. Click on the Curve Data button in Properties panel (2nd from bottom)
    2. In the first panel called Shape , row 4 says 'twist method'
    3. Change to Z-up

  • @seankelly5318
    @seankelly5318 Před rokem

    At first I couldn't get it to work but I found putting the origins of both parts in the same place fixed it.
    I like the shorties bro.

  • @MRUStudios
    @MRUStudios Před rokem +1

    Awesome tutorial Ryan. I usually have cameras follow paths for really smooth movement, but I hadn't thought to use a path for something like this. 😃
    Thank you for sharing your knowledge with us!
    I hope you have a great rest of your week my friend! 🙂

  • @artemtsenev
    @artemtsenev Před rokem +2

    Thank you King Ryan

  • @angersJohn
    @angersJohn Před 11 měsíci +1

    best tutorial I've ever seen. Keep it simple like this and thanks a lot!

  • @kambria9773
    @kambria9773 Před měsícem +1

    You are incredibly helpful

  • @ホーファン
    @ホーファン Před 2 měsíci

    2:51 bro you save my life 😭😭😭

  • @blenderstuffs
    @blenderstuffs Před rokem +2

    Amazing 🤩🤩

  • @chetlamanish9017
    @chetlamanish9017 Před 3 měsíci +1

    ThankYou Brother

  • @fredozama
    @fredozama Před rokem +1

    I was literally just struggling with this and poof, thank you

  • @BrandonBloxBB
    @BrandonBloxBB Před rokem +3

    I think I saw some of the road addons you can just draw out a road which is cool too

  • @ClaudioMalagrino
    @ClaudioMalagrino Před rokem +2

    Thank you, Ryan! If possible, bring us some Geometry Nodes tutorials in the future. Regards.

    • @RyanKingArt
      @RyanKingArt  Před rokem

      Thanks! yeah I'd like to do some more Geometry node tutorials sometime

  • @JinnyjinnyJin
    @JinnyjinnyJin Před měsícem

    beautiful.

  • @zakiroyhan
    @zakiroyhan Před 8 měsíci +1

    Awesome! Thank you.

  • @Adahn3D
    @Adahn3D Před 7 měsíci

    wonderful tutorial. this helped me so much, thank you

  • @5MadMovieMakers
    @5MadMovieMakers Před 4 měsíci

    Nifty!

  • @Cozy_Cat_Ambience
    @Cozy_Cat_Ambience Před 6 měsíci

    You give the best tutorials.

  • @kedarbhojane-ip1rn
    @kedarbhojane-ip1rn Před 3 měsíci

    thank you man

  • @visualksa7108
    @visualksa7108 Před 8 měsíci +1

    thank thank thank thank

  • @_bushy
    @_bushy Před 5 měsíci

    warrior J is the MAN!

    • @RyanKingArt
      @RyanKingArt  Před 5 měsíci

      who is warrior J?

    • @_bushy
      @_bushy Před 5 měsíci

      @@RyanKingArtoops....for some reason my reply appeared here and not on the video i was commentting on? ..... but i did watch your video yesterday :)

    • @RyanKingArt
      @RyanKingArt  Před 5 měsíci

      @@_bushyOh ok. 😄

  • @procrastinator24
    @procrastinator24 Před 3 měsíci

    Really useful! thanks so much!

  • @peabrainz
    @peabrainz Před rokem

    Just in time! looking for this on my project

  • @amirrezaasdaghi
    @amirrezaasdaghi Před 3 měsíci

    thank you so much

  • @Kokushibo_vr
    @Kokushibo_vr Před 11 měsíci +6

    WHEN I DO THE EYE DROP THING ON THE CURVE IT SAYS FAILED TO SET VALUE

    • @rationalrama
      @rationalrama Před 4 měsíci

      You probably set the modifier on the wrong object.

  • @mahsae5479
    @mahsae5479 Před 7 měsíci +1

    Thank you!!! 😊

  • @TVonthetubesyo
    @TVonthetubesyo Před 6 měsíci +1

    Thanks!

    • @RyanKingArt
      @RyanKingArt  Před 6 měsíci +2

      thank you so much for your support!

  • @Yurleg
    @Yurleg Před 4 měsíci

    cool but could you make a video explaining how to put the texture you linked onto the block please?

  • @Mordaxe
    @Mordaxe Před měsícem

    aaah nice

  • @elvismokua
    @elvismokua Před rokem +1

    thanks for this

  • @ayo4773
    @ayo4773 Před 6 měsíci

    Ty

  • @ishaanverma9847
    @ishaanverma9847 Před měsícem

    thank you veryy much

  • @federicoforresu972
    @federicoforresu972 Před 4 měsíci

    Fantastic, thanks a lot pal!

  • @OttrPopAnimations
    @OttrPopAnimations Před 7 měsíci +1

    thanks!

  • @partyinthefront
    @partyinthefront Před 6 měsíci

    excellent

  • @ice_popzz6623
    @ice_popzz6623 Před 4 měsíci

    Yes I finally did it 🙏 thx

  • @duskadown6751
    @duskadown6751 Před 10 měsíci

    tysm! I used this to bend plant leaves I modeled.

  • @davidramio
    @davidramio Před 4 měsíci

    Amazing thank you! is there a way to reduce the size of the objects as they go along the curve?

  • @Greenbeans695
    @Greenbeans695 Před rokem

    Love it Ryan

  • @TsingYiTube
    @TsingYiTube Před 20 dny

    may I ask how to twist segments of the road so that part of it flat, part of it twist to right and part of it twist to left, would you mind to make a video to show us how ? thanks in advance 🙏🏻

  • @rizwansiddiqui928
    @rizwansiddiqui928 Před 6 měsíci

    Dear sir thank your effect to teach the blender unbelievable❤❤
    ON the first day hard but this time very easy this is possible with you help lot of thanks

  • @Pawan-Maurya
    @Pawan-Maurya Před 5 měsíci

    Thanks! Now, what if I have multiple objects in a collection for the road? How do all of these follow the path?

  • @salvadormarley
    @salvadormarley Před rokem +1

    Great video. nice and clear. Would you ever consider doing a motion capture tutorial using Rokoko Video - Free Motion Capture? Building a simple model and then how to use the downloaded rig? I've searched many videos but they are all rushed and not fully explained. It needs your careful style to pull it off.

  • @crayder1100
    @crayder1100 Před 4 měsíci

    I need to know how to do this, and keep the "road" the exact length of the curve

  • @jordreynolds
    @jordreynolds Před 6 měsíci

    when I do setup the curve modifier, the road doesn't follow the path properly - its to the side and slides off at an angle

  • @bendygamer2306
    @bendygamer2306 Před 5 měsíci

    Thanks so much you are the best

  • @Siggiythe1
    @Siggiythe1 Před měsícem

    it doesnt work the curve modifier doesnt work whenever i use it gives me a weird shape of the plane that im using and it follows it the wrong way what to do and if i use follow path it also does the same what should i do

  • @thewise-i9i
    @thewise-i9i Před 4 měsíci

    i love your work car animations please

  • @Tyro74
    @Tyro74 Před 8 měsíci

    thank you so much :)

  • @VeganSemihCyprus33
    @VeganSemihCyprus33 Před rokem

    The Connections (2021) [short documentary] 🔥

  • @arradu5132
    @arradu5132 Před 7 měsíci

    thank you...

  • @Indevor
    @Indevor Před 5 měsíci

    Thanks Ryan. Any idea how to do the same by using a U shape curve instead of path curve? I tried that but it doesn't work.

  • @jonathankey6444
    @jonathankey6444 Před 4 měsíci

    I have to be able to tilt the road but when I go into edit mode on the road it no longer follows the curve so I can't really edit it.

  • @user-wh4wm3mw7l
    @user-wh4wm3mw7l Před 4 měsíci

    Off-topic question - I constantly have this problem: the texture is seamless but the pattern repetition is clearly visible. Any way to solve that?

  • @AllenCoubert
    @AllenCoubert Před rokem

    im trying to make it attach to the curve but its going all over the place and i dont know how to fix it

  • @azreath2503
    @azreath2503 Před 10 měsíci

    What do I do if, after applying location for both objects, my mesh refuses to be anywhere near the curve under any circumstances? In edit mode, it is sitting next to the curve, but in object mode it displaces itself far away from the origin and cannot be moved closer to the curve.

  • @andromeda_orion
    @andromeda_orion Před 10 měsíci

    😍great!!

  • @StarLabs3D
    @StarLabs3D Před 6 dny

    Good information 🇦🇶

  • @choppertime5383
    @choppertime5383 Před 11 měsíci

    Very helpful. In the second case where you showed the road not being aligned with the path, would there be a way of centering it with a function? Instead of doing it manually?

  • @ocln2481
    @ocln2481 Před 7 měsíci

    Is there a way to bank your curves using this method? I tried tilting my path's nodes but the arrayed object didn't respond to it

  • @euclois
    @euclois Před 5 měsíci

    cool, but this only works for flat roads. if the road is going up it will deform the curve, like bend it side ways. how do we avoid this deformation?

  • @mateusdsp6871
    @mateusdsp6871 Před 6 měsíci +1

    Ty for video!
    :D
    Jesus is coming back, God bless all!

    • @RyanKingArt
      @RyanKingArt  Před 6 měsíci +1

      Yep, Jesus will come back some day!

  • @coc1841
    @coc1841 Před rokem +2

    You are so good, that I will unsubscribe and subscribe again!

  • @louise1021
    @louise1021 Před 8 měsíci

    When I use the displacement modifier on this it gets lots of visible seams, do you have any idea how to fix that? :0

  • @3km143
    @3km143 Před 26 dny

    It doesn't work, the plane mesh just stays the same shape but it flies all over the place if I move it, and it sometimes deforms

  • @rebkahibasdeys
    @rebkahibasdeys Před 9 měsíci

    can you retain the shape of the curved road, and delete the modifier some how...

  • @alexmajorov2506
    @alexmajorov2506 Před 10 měsíci

    very well

  • @vsdsas
    @vsdsas Před 9 měsíci

    it didnt work for me at the first time when i try i tried at least 10 then it work tnx for the video

  • @Domzdream
    @Domzdream Před rokem

    Hi Ryan.
    Would you be able to make a tutorial on a specific kind of dilemma in relation to the fog (principled volume).
    I have an underwater scene which I’ve made. I want to add a basic fog shader to the ocean, with an underwater rounded room which I don’t want affected. M
    I have hollowed out the cube with the rounded shape, hopefully excluding the fog texture from the centre, but it still disregards the hollowed out shape. Maybe it’s the normals, but I’m not sure why it’s still displaying t the fog throughout the shape.
    Is there a way to solve this? Thank you 🙏

  • @dubwork
    @dubwork Před 5 měsíci

    mr robot 👍

  • @Fritz2824
    @Fritz2824 Před 11 měsíci

    hi,
    is it possible to make the road line separately ?
    a curve for the road,
    and a snapped line texture...
    and can we apply one texture only on one part of the road ?

  • @letomaneteo
    @letomaneteo Před 2 měsíci

    a blender for children is good, but do you have an answer to an adult question - how to change the profile of such an object on a curve at a specific point, so that when moving along the curve, the object at this point changes its profile? What can be done with geometric nodes?

  • @We4kness_Spotter
    @We4kness_Spotter Před 6 měsíci

    can i make it a circle path in curves tab?

  • @BrandonBloxBB
    @BrandonBloxBB Před rokem

    hey whats the best place to show you pictures of my apartment progress im making? most of it is with your stuff and im almost done with the kitchen!

  • @yamatoartesdigitais
    @yamatoartesdigitais Před 11 měsíci

    make road intersections please 🙏🏽

  • @gakidomo9561
    @gakidomo9561 Před 8 měsíci

    Hello, I created a mountain road, I went into side view and it's bent everywhere and it's crazy, I want to keep it flat as possible, is there a way to keep it flat? Like a straight road?

  • @CaptainBollocks....
    @CaptainBollocks.... Před 8 měsíci

    No idea how you got the texture onto the cube 😅

  • @sundaysunday9718
    @sundaysunday9718 Před 9 měsíci

    Cheers mate, awesome tutorial. So I'm a total blender noob and have a question for anybody willing to help, I'm looking at remodelling my hometown (using a google maps image as a reference) for a 3d walkaround project in Unity. Ambitious I know but whatever, it takes as long as it takes. That considered would this still be the best method to model the roadways given that roads can have intersections or different widths with roundabouts and split roads etc. or is there a better more granular way overall? OR will I be able to simply combine the above method in the vid with individual modelling for the aforementioned intersections and roundabouts etc.? Again I'm just learning Blender so sorry if it's a dumb question. Cheers

  • @omg_squid6949
    @omg_squid6949 Před rokem

    Ryan i need help, whenever i use a bump node when I connect it to the normal it shows the model as flat shade, like it shows the sides and the verticies, how can i fix this?

  • @lavtekk2086
    @lavtekk2086 Před rokem

    Hi Ryan! This is kind of off-topic. But is there a place where we could show you some of our work? I just made a Star Wars scene following a bunch of your procedural material tutorials and would love your opinion!
    Thank you as always for your teachings master ❤

  • @areebasultan2021
    @areebasultan2021 Před 2 měsíci

    How to add road texture ?

  • @VeganSemihCyprus33
    @VeganSemihCyprus33 Před rokem

    Dominion (2018)

  • @antys_tech_cz
    @antys_tech_cz Před 5 měsíci

    doesnt work, it just take the texture and nothing

  • @ZackDavis486
    @ZackDavis486 Před 10 měsíci

    I need help, do you have discord?