Blender tutorial: Rig a car without using Addons

Sdílet
Vložit
  • čas přidán 25. 07. 2024
  • In this tutorial I show you a rig setup to control a car. No custom rigging Addons are needed, just Blender. After this tutorial you’ll be able to let drive a vehicle on a custom defined path. You define the driving direction and speed. And the car just follows.
    The wheels will rotate using the right revolution, even backwards if necessary. And the car driver behaves also realistic and moves the steering wheel according to the wheels current direction.
    All this happens completely automatically, without setting dozens of keyframes! The whole animation is controlled just by one value!
    Feel free to support my work on Blendermarket (blendermarket.com/creators/ch... ) or Gumroad (taros.gumroad.com ). Thank you! :-)
    Chapters:
    0:00:00 - Intro
    0:00:54 - Before starting
    0:01:58 - Creating the car root
    0:03:45 - Creating the rear axis rig object
    0:05:28 - Creating the front axis rig object
    0:05:53 - Creating the wheel rig objects
    0:10:08 - Set up the rig object for car dynamics
    0:11:07 - Start rigging
    0:13:03 - The rear axis set up
    0:13:40 - How rear axis follow the curve
    0:14:31 - The evaluation time value in the curve object
    0:16:04 - The front axis setup
    0:20:16 - Set keyframes to the curve
    0:23:20 - Set start position for curves
    0:27:09 - Automatic wheel rotation
    0:28:19 - Use drivers to set the automatic wheel rotation
    0:29:41 - Set the wheel rotation speed
    0:34:03 - Copy driver values to all wheels
    0:35:30 - Set the wheel facing direction
    0:39:54 - The steering wheel setup
    0:42:16 - Create a car driver camera
    0:44:17 - Attach the car drivers hands to the steering wheel
    0:47:24 - First driving test
    0:50:20 - Preparing the dyamic car body tilting
    0:53:06 - Add simulation for car body tilting
    0:54:58 - Caching the simulation
    0:55:45 - Tweak the simulation gravity
    0:56:20 - Parenting the simulation to the car
    0:58:34 - Attaching car dynamics to the car body
    1:00:31 - Final adjustments for the car tilting
    1:05:08 - Very last corrections
    1:10:57 - Showtime and final words
    Link to the great Cubic Worlds course by CG Boost:
    academy.cgboost.com/p/cubic-w...
    Support me by visting your favorite online shop
    blendermarket.com/creators/ch...
    taros.gumroad.com/?sort=page_...
    www.artstation.com/taros/store
    flippednormals.com/creator/ch...
  • Krátké a kreslené filmy

Komentáře • 76

  • @Ab_obla
    @Ab_obla Před 2 lety +14

    The only full car rig tutorial I have found on CZcams without addons 👍👍 very good!

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

    the steering wheel info is great, thanks

  • @user-50fvi58djr0
    @user-50fvi58djr0 Před rokem +1

    I struggled so much across multiple "car-rig" tutorials, but YOUR TUT IS THE BEST! thnx a lot :)

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

    THE BEST AND MOST DETAILED CAR RIGGING TUTORIAL I HAVE SEEN SO FAR - NUFF SAID...

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

    The best rigging tutorial ever that covers everything, thanks man
    For the wheels to follow the ground, you can add a bone and parent it to the wheel and add shrink wrap modifier to the bone to follow the ground

  • @eriksurpless6475
    @eriksurpless6475 Před 2 lety +4

    Awesome tutorial sir! Car rigs have always been a mystery to me, thank you for taking the time to make this!

  • @billyreynolds2707
    @billyreynolds2707 Před rokem +1

    This is the Best Video of All Time! 🤹

  • @mxdpictures
    @mxdpictures Před 2 lety +1

    Very nice and clear explained! Thank you very much for sharing your knowledge for free!

  • @jasoncatlyn7331
    @jasoncatlyn7331 Před 2 lety

    Thanks for the tutorial. Its just what I need!

  • @ExOrbit1980
    @ExOrbit1980 Před rokem +1

    Thank you Christopher, delightful. I learned a lot today.

  • @danmelton5146
    @danmelton5146 Před 3 lety +1

    Brilliant!! Thank you!

  • @hungrysquishybrain
    @hungrysquishybrain Před 9 měsíci +1

    Amazing Content, and Super Helpful, Thanks for Sharing Your Knowledge! 🙌

  • @md.parwejakhtar8516
    @md.parwejakhtar8516 Před 9 měsíci

    Rig System and the way you explain everything is awesome .

  • @mattpierson
    @mattpierson Před rokem

    Thank you so much for this! you got yourself a new subscriber!

  • @pabloezequielpadula7278

    Simply amazing. Very good tutorial!

  • @lakvfx
    @lakvfx Před 2 lety

    Awesome, very helpful, thanks

  • @user-lb5qu5fg5k
    @user-lb5qu5fg5k Před 2 lety

    what I wanted!! Thanks!!!

  • @aleksanderk5695
    @aleksanderk5695 Před 3 lety

    Thanks for great tutorial! Yes, cloth simulation is very good trick.

  • @giotrading5841
    @giotrading5841 Před 2 lety +1

    THANKSS MY BROOO
    U ARE THE BEST

  • @NITROPENps
    @NITROPENps Před rokem

    genius man!

  • @abhaynath5833
    @abhaynath5833 Před rokem

    This is the best car rigging blender tutorial on CZcams. Thank you sir 🙏🙏🙏

  • @spotsnap
    @spotsnap Před rokem

    I learned more than car rig. Thanks

  • @lessons_of_life_007
    @lessons_of_life_007 Před 2 lety

    nice video

  • @ikbensiep
    @ikbensiep Před 3 lety +3

    The cloth sim is pure genius 👏 Wondering if you could play with the cloth stiffness and damping settings etc. instead of gravity to be more flexible in the wobbling behavior.
    Regardless, this is an awesome tutorial. Thank you very much!

    • @ChristophWerner
      @ChristophWerner  Před 3 lety +2

      Thank you. I've played with different settings, but in this situation the gravity solution was the quickest way to achieve a satisfactory result.

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

    This is absolutely amazing! I have been trying to rig a car to a path and have the front wheels steer accordingly for weeks to no avail. The cloth simulation hack was the icing on the cake. Thanks so much!

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

      You're welcome. Feel free to support my work on Blendermarket( blendermarket.com/creators/christoph-werner ) or Gumroad (taros.gumroad.com ). Thank you! :-)

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

      @@ChristophWerner I don't need any assets at the moment, but I hit you up on your Ko-fi account! Thanks again!

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

      @@TVonthetubesyo That's very kind of you. Thank you a lot! I really appreciate this.

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

      @@ChristophWerner sure thing! Looking forward to checking out the rest of your tutorials.

  • @craigbaker6382
    @craigbaker6382 Před 2 lety +1

    I have learned so much from this one tutorial and it is now in a small library of my most useful references.
    I wonder if you might imagine a tweak which would apply to the curve the car is following or to the car object itself which would impart dynamics to the car depending on speed?
    For example if the car goes over the little hill AND the frame rate/speed of the car is high then the wheels can leave the ground a bit with some momentum before landing again in a kind of ballistic way.
    Similarly could a traction dynamic be added? If a corner were tight and the speed was again high the wheels could slide a little off their path but rejoin it if the car progressed forward.
    Your cloth simulation is so clever I wonder if a different set of constraint influences could be derived from a similar parallel or secondary such simulation/drivr/influencer. Thank you for all the amazingly useful info in this tutorial.

    • @ChristophWerner
      @ChristophWerner  Před 2 lety

      Thank you for your comment. My solution is focused to be easy and fulfill the most needs for now. I'm sure there are more dynamic fx possible by adding more physics helper objects.

  • @angeltrujillo426
    @angeltrujillo426 Před 2 lety

    Hello
    Good tutorial, you could make a mechanical arm with constrain or drivers and animate it, greetings.

  • @convex9345
    @convex9345 Před rokem

    You are the best tutor, in a single video I get all the basics. I tried with cycle model though, it works fine. But steering is not working fine. Actually when you add copy rotation for wheel at that time when you show the axis of steering the z-axis is along the axial direction of the steering but in my case the z-axis of handle is not along the axial direction of the handle. The z-axis of handle is along the global z-axis. Thanks a lot, hope I will get an answer 😊.

    • @ChristophWerner
      @ChristophWerner  Před rokem

      Thank you. Drop a timestamp of the location, you mean in my video please. I don't really get what you need. :)

    • @convex9345
      @convex9345 Před rokem

      At 41:08, the z-axis of steering wheel is along the axial direction of steering wheel. In my case (bicycle handle) the z-axis of handle is along the global z-axis of the blender due to which handle is not working fine with copy rotation. I hope I am able to put my question. Thanks for your reply.

    • @ChristophWerner
      @ChristophWerner  Před rokem +1

      @@convex9345 In your case you can use the "Transformation" constraint to control a specific axis of your handle. Your handle is the "owner" and a wheel can the the target that controls your handle.
      But if you mean your local z-axis of your handle is showing streight up (z direction) but actually should be diagonal, then you can correct your handle axis to make it work, by rotation the mesh itself in edit mode.
      I'm honest: Without having your scene here I can't really help. As I already told many people, who were in the same situation like you: CZcams comment area is the most worse place to give blender support... Why not placing your question at blender.stackexchange.com/ and place the link here? So you could upload your file or screenshots there and I can help you. You can place the link here, so I can visit your question at stack exchange.

    • @convex9345
      @convex9345 Před rokem

      Thanks for your reply 🙂

  • @mohamedmoussa1477
    @mohamedmoussa1477 Před rokem

    fabulous. it's very clear and elaborative. it has made my day.
    one question please, how did you make the car stops, drive backward and then moves forward again that appears in the beginning of this vid. very curious to know.
    thanks a lot

    • @ChristophWerner
      @ChristophWerner  Před rokem

      I keyframed the evaluation time in the curves Path Animation tab. Stopped the time for some seconds, animated the value back and forth then.

    • @mohamedmoussa1477
      @mohamedmoussa1477 Před rokem

      @@ChristophWerner thank you very much.

  • @polylabs1746
    @polylabs1746 Před 2 lety

    Very nice tutorial! I am having one problem though... the Z-rotation of my wheels behaves in weird ways and sometimes the wheel flips its direction by 180° from one frame to another. Couldn't find a solution so far

    • @ChristophWerner
      @ChristophWerner  Před 2 lety +1

      Are you sure you've applied the whleel rotation to 0 0 0 values? It's hard so help withot seeing your scene.

  • @mohamedmoussa1477
    @mohamedmoussa1477 Před rokem

    Hi Chris,
    Sorry to bother you again.
    I’m trying now to move the car on an open path, then stop it at the end of that path, then drive it backward but on another path.
    For example, assume the car is trying to park, it comes ahead over a path then it stops at a point, then it drives backward (into a parking slot) but not on the same path it came from.
    To elaborate more what I mean, assume the path is a V shape (or Y), the car is coming ahead over one leg of the V, then stops at the vertex of the V, then drives backward on the 2nd leg of the V.
    I tried to make the V as one path, and toggle (using keyframes) between +y and -y orientation in the “follow path constraint” when the car stops. Unfortunately, the whole car flipped and moved forward in its front axes direction.
    I also tried to make 2 separate paths with 2 animations. The 1st path is the forward one and the second path is the backward one with an animation that starts after the finish of the 1st path. When animating the 2nd path, it spoils the animation on the 1st path and the car moves in a strange interpolated path (not the 1st nor the 2nd)
    Any idea please how can I achieve this. sorry as I’m still very newbie 😃
    Thank you so much for your support.

    • @ChristophWerner
      @ChristophWerner  Před rokem

      You can add another Path Constrait after the 1st one to the axes and set a new curve target for a different direction. To switch between the constraits just animate the influence value of the constraints or the visibility icon (eye symbol). Example: Set the influence key to the 1st Follow Path constraint to 0 and the 2nd path constraint to 1. Actually CZcams is the worst place to discuss complex questions. You can't post images here to show further examples. I suggest you blender.stackexchange.com/. You'll find a lot of very kind people there who helps very fast.

    • @mohamedmoussa1477
      @mohamedmoussa1477 Před rokem

      @@ChristophWerner Thank you very much Chris. Will it it.

    • @mohamedmoussa1477
      @mohamedmoussa1477 Před rokem

      Will try it

  • @StSpoiler
    @StSpoiler Před 2 lety

    please tell is this path follow simulation or free drive against gravity siimulation??

    • @ChristophWerner
      @ChristophWerner  Před 2 lety

      You can create simulations per object. The simulation is needed for the car body tilting only. The car itself follows a curve object, that defines the direction.

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

    An Amazing tutorial , 38:52
    but btw, i got some problem when copyng rotation constrain to the axis of the front wheel, the wheel goes crazy, sometimes the wheel face wrong and sometimes normal. I've been struggling for quite a while and I'm getting really desperate because I don't know what the solution is

    • @ChristophWerner
      @ChristophWerner  Před 2 měsíci +1

      Thank you. Without having your scene, I can't say what gets wrong in your settings. Check the default rotation values of your wheels and the scaling values. Rotation should be at 0,0,0 and scaling 1,1,1. Sometimes this values lead into problems. Also the other wheel could be "mirrored", so you should fix this also. If you done all steps right, all should actually work. Check your objects again, please. Maybe there is just a small problem and you can fix it yourself. You could also recreate your wheels. CZcams is the worst place to help someone in detailed questions.

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

      @@ChristophWerner Thanks for answering me, I'll try it

  • @andymiddleton3203
    @andymiddleton3203 Před 2 lety

    Hi Chris. Ive followed this Tut to the letter and everything works beautifuly. Thank you. The biggest problem Im having is appending this file to another blender file, keeping everything intact. I even tried parenting everything to one big empty. When I append the car file everything moves away from its original centered position as a result I have parts everywhere which makes it unusable. Does one need to remove all of the controllers and constraints before appending to another file? 🙃

    • @ChristophWerner
      @ChristophWerner  Před 2 lety +1

      Hi Andy. Thank you for watching my tutorial. The quickest way to solve this is to place all related objects and collections into a seperate root collection. You could name the root collection "My red Car" for example. It's like a container, that includes your car elements. Then save the original file and you should be able to append the car container into all other scenes. It's basically good to organise all your projects well. Collections are perfect to keep everything readable and organised for later use or situations like yours.

    • @andymiddleton3203
      @andymiddleton3203 Před 2 lety

      @@ChristophWerner Wow! Thanks for your speedy response!
      I always use collections. I realized that the rigid body and physics worlds settings had not been changed automatically. Once I changed them to the correct physics / rbw collections the geometry stayed together. That's half the battle, so thank you again for the accurate tutorial! Do you have any tutorials on pPhysics and how they work in tandem with animation. I cant seem to find what Im looking to achieve, anywhere. I dont need to pick up and drop. I just need to attach to the vehicle and have work properly.
      BTW Subscribed and Notified ;)
      Cheers so much Chris. Keep up the great work!

    • @ChristophWerner
      @ChristophWerner  Před 2 lety +1

      ​@@andymiddleton3203 Interesting. I've tested to append my car collection into Blender v3.2.1. Maybe the old Blender versions doesn't support some options. Haven't tested it. Maybe one thing you could also check: Bake your physics cache and save your original file before appending it into another scene. In my example all physics settings were transferred. But maybe I miss something. I haven't worked a lot with simulations yet and need them in some rare cases only. Many thanks you for the kind words! I appreciate this! Greetings from Germany!

  • @TheIronMenace
    @TheIronMenace Před rokem

    Do you have a tutorial on how you make the terrain??? I like how the grass blends in to dirt. Can you link the tutorial on the terrain?

    • @ChristophWerner
      @ChristophWerner  Před rokem +1

      I don't have a special tutorial how to do this kind of grass, but you can use my terrain material tutorial to get a similar effect and add some more fx if you like: czcams.com/video/KVMKAJZ0P-A/video.html

    • @TheIronMenace
      @TheIronMenace Před rokem

      @@ChristophWerner thank you for taking the time to respond man. That’s very kind of you! Have a nice day :)

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

    Once everything is rigged is it possible to get the car and wheels to rotate on the Y axis ?? When I do it only the car body rotates but the wheels are attached to the curve driver

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

      Good question. I would need to try it out to give a definitive answer. But unfortunately, I don't have time right now. Maybe you can figure it out on your own?

  • @arjunthehunter1753
    @arjunthehunter1753 Před 3 dny

    how to multiply the eval time in scripted expression

    • @ChristophWerner
      @ChristophWerner  Před 3 dny

      What is you goal for this? The avaluation time is depending of the frames amount, that can be always adjusted.

  • @aliceacademy146
    @aliceacademy146 Před 2 lety

    How did you get your curve to follow the terrain?

    • @ChristophWerner
      @ChristophWerner  Před 2 lety +1

      Nothing special. I've placed it by hand and tweaked the point handles a bit. The curve isn't placed really well on the the ground and could be improved for sure.

    • @aliceacademy146
      @aliceacademy146 Před 2 lety

      Would you do a tutorial on how to make paths follow a rough terrain using this car rig? I love your tutorials, it’s so easy to follow and it really helped me!

    • @ChristophWerner
      @ChristophWerner  Před 2 lety

      @@aliceacademy146 Thank you. Maybe in the future. Too much ideas on my list, and too less time... ;)

  • @SR951159753357
    @SR951159753357 Před 2 lety

    the problem with this kind of rig is, that the rear axis follows the same path like the front axis.
    for this reason the rear axis is always drifting. you can not use ist for long vehicle like a Bus.

    • @ChristophWerner
      @ChristophWerner  Před 2 lety +1

      That's right. As a workaround you could use a seperate curve for every axis.

  • @Queentc188
    @Queentc188 Před 2 lety

    I want to put a drivable car. In the sims 4. This tutorial is perfect buy I don't know how to add the driving car to my sims 4 game

    • @ChristophWerner
      @ChristophWerner  Před 2 lety

      I'm not playing The Sims nor know how their 3D pipeline. So I can't help you, sorry.

  • @Razaki3D
    @Razaki3D Před rokem

    This is an extremely slow tutorial.

    • @ChristophWerner
      @ChristophWerner  Před rokem +1

      There‘s a shorter version for advanced users: czcams.com/video/21iun_Ib3vI/video.html

    • @Razaki3D
      @Razaki3D Před rokem

      @@ChristophWerner Many thanks