Jump to content


Photo

Self steering car

automobile rigs steering

  • Please log in to reply
15 replies to this topic

#1 rodger_r

rodger_r

    Non-character modeling since 1993

  • Hash Fellow
  • PipPipPipPipPipPipPip
  • 727 posts
  • Rodger Reynolds
  • Windsor, ON, Canada
  • Windows

Posted 24 August 2017 - 05:55 PM

I know there's a few automobile modelers on this forum, this thread is for them.

 

While animating a car turning a corner on my city street back lot, I realized that keeping the center (black) bone of a model tangent to a sharply curved path only produces believable results for short (in the Z direction) models. When a longer object, like a car (or pickup truck), goes around a tight curve both the front and rear wheels do a lot of sliding with respect to the ground. After some experimentation, I have a suggestion that may require some (perhaps painful) re-working of existing models but will pay dividends if you want your models to turn tight corners convincingly and steer themselves in the bargain (eat your heart out Waymo).

 

The first step is to move the model so Z=0 is located at the rear wheels.

pickup_steering_side.jpg

This is no big deal if your building from scratch. But an existing model needs to have all patches (easy), all bones, center of groups and projection maps (time consuming in my case) shifted.

 

The first assigned bone, the steering bone, controls the axles, steering pivots and wheels (children of the axles). This bone, starting at z=0,  is oriented such that it's roll handle aims towards the front axle.

pickup_steering_bones.jpg

After this the chassis and body are assigned a bone for rolling. The steering wheel gets its own bone for rolling. After setting up your action for stride length and wheel rotation, you need a few more constraints. The front wheel pivots are set to roll like the steering bone at 100% scaling. The body bone rolls like the steering bone with 20% scaling (or to your taste) while the steering wheel bone rolls like the steering bone with 500% scaling (or to your taste).

 

The self steering part comes after you drop the vehicle on its path and add a null to follow the same path. Adjust the ease of both the null and vehicle such that the null is always located ahead of the rear axle throughout the length of the scene. I set it near the front axle.

pickup_steering.jpg

Then add a constraint to the steering bone so it's roll handle always point at the null. The result is fairly believable vehicle dynamics; exhibit A being the attached 47 sec. clip. And this is before any tweaks to the truck's ease to make it speedup and slow down as you may see fit.

 

Attached File  pickup_steering_lores.mp4   11.48MB   35 downloads

 

 


  • pixelplucker likes this

#2 John Bigboote

John Bigboote

    that one guy

  • Hash Fellow
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 6305 posts
  • John Bigboote (aka Matt Campbell)
  • Detroit, MI USA
  • v18
  • Windows

Posted 28 August 2017 - 10:23 AM

How cool is that???

I am surprised you didn't add the effect of the squashed rubber at the tire's bottom(distortion box?)... but man! Looking great, Rodger!



#3 pixelplucker

pixelplucker

    Mentor

  • Craftsman/Mentor
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 1710 posts
  • Ken Citron
  • USA
  • Windows

Posted 29 August 2017 - 08:31 AM

Ya, looks awesome.

Adding any body roll and bounce from the suspension?



#4 TheToadStool

TheToadStool

    Apprentice

  • *A:M User*
  • PipPip
  • 69 posts
  • ADAM GOLDMAN
  • Portland, OR
  • v18
  • Macintosh

Posted 31 August 2017 - 10:13 AM

that looks fantastic !



#5 Shelton

Shelton

    Steve Shelton

  • Hash Fellow
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 2329 posts
  • Steve Shelton
  • Tulsa, OK
  • current
  • Windows

Posted 31 August 2017 - 01:17 PM

Wow looks great.
In Production (somewhat of a production) "Cupid's Sick Day"

#6 rodger_r

rodger_r

    Non-character modeling since 1993

  • Hash Fellow
  • PipPipPipPipPipPipPip
  • 727 posts
  • Rodger Reynolds
  • Windsor, ON, Canada
  • Windows

Posted 02 September 2017 - 12:40 PM

 

I am surprised you didn't add the effect of the squashed rubber at the tire's bottom(distortion box?)

tire_distort.jpg

To make that work I think you'd need a very high resolution tire so that there are enough cp's at every point of contact. It would be nice to be that accurate but I don't think it's worth the overhead.I typically run my cars slightly below the surface they're "sitting" on to suggest a flat contact area.

 

 

Adding any body roll and bounce from the suspension?

I assume you mean automatic body and wheel movements based on the roughness of the road. I think you'd need reference bones that track the surface at each tire contact point and then constrain each tire axle bone to follow them. Meanwhile the body needs it's own surface tracking bone to which it is partially constrained so it averages out the roughness. Once again, an interesting exercise but this is a '53 Chevy pickup not a Baja dune buggy. If I need to show it's wheels bouncing over a railroad track, it's easier to key frame an action.



#7 Xtaz

Xtaz

    I A:M 3D Designer

  • Hash Fellow
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 1812 posts
  • Marcos Rezende
  • Campo Grande / MS / Brazil
  • v18
  • Windows
  • Contests Won:2010, 2012, 2013 Mascots!

Posted 04 September 2017 - 05:05 AM

Amazing... really great job.


Peace

Xtaz

3D'ing Sketches


visit my forum´s gallery

#8 rodger_r

rodger_r

    Non-character modeling since 1993

  • Hash Fellow
  • PipPipPipPipPipPipPip
  • 727 posts
  • Rodger Reynolds
  • Windsor, ON, Canada
  • Windows

Posted 14 February 2018 - 05:30 PM

Now that I have a rigged driver, no more autonomous vehicles. The chor is identical to the one in the first post. There is a constraint target for each hand control and the Saucy rig does the rest.

 

Attached File  pickup_with_driver.mp4   11.4MB   31 downloads


  • largento likes this

#9 Wildsided

Wildsided

    Ever so slightly mad

  • Special Topics
  • PipPipPipPipPipPipPip
  • 738 posts
  • Dan
  • Canada but born and raised in England
  • v18
  • Windows

Posted 14 February 2018 - 08:12 PM

Rodger, I honestly doubt I will ever cease to marvel at the stuff you put out.



#10 robcat2075

robcat2075

    occasional smarty-pants

  • Hash Fellow
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 23750 posts
  • Robert Holmén
  • *Moderator*
  • Dallas, Texas
  • other
  • Windows
  • Programmer:NO

Posted 14 February 2018 - 08:16 PM

Now that I have a rigged driver, no more autonomous vehicles. The chor is identical to the one in the first post. There is a constraint target for each hand control and the Saucy rig does the rest.

 

attachicon.gifpickup_with_driver.mp4

 

 

that looks wonderful, Rodger!


Robert Holmén
------

Got an A:M question? Come to Live Answer Time.   Saturdays, Noon CDT (1700 GMT)

Watch the 2017 "Summer Memories" Image Contest Awards

 

My tutorials All my most beloved tutorials in one convenient location. Except for the ones I've forgotten about.
 
this is only a ... my gallery of A:M tests

87,848 pushed!: the #1 heavy push on Youtube

Big thanks to... Roger (again!), Shelton (it's huge!), NancyGormezano, Roger, cribbidaj, thefreshestever, Tom, Dalemation, Simon Edmondson, thejobe, Rob_T (2 more x), agep (again!), itsjustme, jason1025(+1), dblhelix (+1),markw, Roger (3x!), mouseman (x 2!), Xtaz, agep, Gerry, thefreshestever, dblhelix (twice!), jason1025, Luuk Steitner, PDM, Rob_T and Dhar!


#11 Rodney

Rodney

    A:M Bot 14309

  • Admin
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 6877 posts
  • Rodney Baker
  • *Admin*
  • Illinois (not Japan)
  • subscriber
  • Windows

Posted 14 February 2018 - 09:33 PM

Very impressive Rodger!


A good idea is a seed, not a solution or
"You can lead horses to water but they still will not animate feature films."
See my effort to think about the art of animation at: My Blog
Want to learn A:M? Start TaoA:M

#12 itsjustme

itsjustme

    David Simmons......me.

  • Hash Fellow
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 5462 posts
  • David Simmons
  • current
  • Windows

Posted 15 February 2018 - 10:23 AM

Great stuff, Rodger!



#13 pixelplucker

pixelplucker

    Mentor

  • Craftsman/Mentor
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 1710 posts
  • Ken Citron
  • USA
  • Windows

Posted 20 February 2018 - 06:11 PM

Genius, looks great. Wish i could find the animation i did of a character riding a bike.

Only thing that bugs me is lose the specular on the fenders. Everything else looks and works perfect.



#14 John Bigboote

John Bigboote

    that one guy

  • Hash Fellow
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 6305 posts
  • John Bigboote (aka Matt Campbell)
  • Detroit, MI USA
  • v18
  • Windows

Posted 23 February 2018 - 01:10 PM

Looking good Rodger- I did some work on that 'flat tire' effect we talked about above... my project is in Robcat's 'flat tire' thread. Rob's approach involves animating the UV coordinates on a mesh that is static whereas my 'distortion box' approach allows for any geometry/decals to 'roll-thru' the effect as the wheel spins. I doubled the resolution of the tire to 16 lathed subdivisions and that seemed to be sufficient geometry to work. Link to gif - https://media.giphy....KgmDy/giphy.gif



#15 mouseman

mouseman

    pixelstix

  • Hash Fellow
  • PipPipPipPipPipPipPip
  • 1166 posts
  • Chris Dailey
  • Alberta, CA
  • v18
  • Windows

Posted 18 March 2018 - 11:52 AM

The results look quite good!  For a previous effort, see here.

 

Rodger: You make numerous references to the "steering bone".  There are bones named "aim steering" and "steering wheel".  Do you mean the "aim steering" bone?


- Chris
Only obsessed people ever accomplish anything. - M. Ashton
My friends dream of retiring to play WoW full time. I dream of retiring to animate with A:M full time.
Design Dynamics and Hit and Run and Eggs, Potatoes, and Bacon

Browse and add information to the Hash Wiki!


#16 rodger_r

rodger_r

    Non-character modeling since 1993

  • Hash Fellow
  • PipPipPipPipPipPipPip
  • 727 posts
  • Rodger Reynolds
  • Windsor, ON, Canada
  • Windows

Posted 20 March 2018 - 12:02 PM

You are correct, I do mean the "aim steering" bone. Apologies for not sticking with my own naming convention..







Also tagged with one or more of these keywords: automobile, rigs, steering

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users