Jump to content


Photo

Self steering car

automobile rigs steering

  • Please log in to reply
6 replies to this topic

#1 rodger_r

rodger_r

    Non-character modeling since 1993

  • Hash Fellow
  • PipPipPipPipPipPipPip
  • 719 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   25 downloads

 

 


  • pixelplucker likes this

#2 John Bigboote

John Bigboote

    that one guy

  • Hash Fellow
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 6258 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
  • 1684 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
  • 2313 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
  • 719 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
  • 1808 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





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