LIBRARY: Tutorials Reviews Interviews Editorials Features Business Authors RSS Feed

The Vehicle Rig

The Vehicle Rig
A CreativeCOW After Effects Video Tutorial


CreativeCOW presents The Vehicle Rig--Video Training by Carl Larsen

Carl Larsen Carl Larsen
St. Cloud, Minnesota

©2009 Carl Larsen and Creativecow.net. All rights reserved.

Article Focus:
In this tutorial, Creative Cow contributing editor Carl Larsen shows you how to build an expression-based vehicle rig that automatically calculates the rotation of its wheels based on the movement of the vehicle chassis.













Comments

Re: The Vehicle Rig
by Bas van Maanen
Hi Carl,

My truck is in a composition called ("truck"), I would like to link the rotation to the movement of the composition ("truck") in the maincomp so not the bodylayer in the truckcomp. What would be the expression than? In stead of Thiscomp Ill need a slidely different one I gues.

So my project looks like this: MAIN>TRUCK> (here I have 2 wheellayers and a body

Thanx in advance!

Cheers Bas
Re: The Vehicle Rig
by Nicolas Dufresne
I developped a "wheel" tool within Duik - http://ik.duduf.com - which automates the creation of this expression. And there's a tool to measure distances too in AE if you don't know the size of your wheel ;)


I'm working on making this expression working in any direction (not only X)
Re: The Vehicle Rig
by Jonathan Charles
cool - its the way you 'bother' to explain all the bits of code that lead up to their inclusion that makes it so much quicker for the novice to get a grip of
Sorry haha
by Jako Krull
Lol didnt notice but the expression figures it out by itself sorry :D
Nice tut but...
by Jako Krull
How on earth do I know how many pixels wide is my wheel?I made a mask around a picture and I cant find anything to display or measure the distance from the left side to the right side so I know what to type into the expression :( please help
Carl Larsen, you are a genius.
by Juan Hernandez
Carl Larsen, you are a genius. And you are kind as you are wise...thank you so much for freely sharing your tutorial(s).
The Vehicle Rig
by Cutter Johnston
Simple and effective. What a tool for the box.
The Vehicle Rig
by Bruce Walker
Thanks so much for this great tutorial. I just implemented your expressions in an animated bicycle video I had to make. Got the wheels and gears working great.
Do you have any suggestions on how to put a bike chain that wraps around the front and rear cogs? I have yet to figure out how to make one that reacts to the wheels/gears properly.
any help would be greatly appreciated!
bruce
The Vehicle Rig
by Carl Larsen
To get the chain to work, you'd have to know the overall length of the chain and then tie the offset completion of your stroke to the circumference of the chain.

The length of the chain should be equal to 1/2 of the circumference of your first gear, plus 1/2 of the circumference of your second gear, plus two times the distance from the top of the second gear to the top of the first gear.

Have fun! I'm glad to hear you're putting the tutorial to good use.
The Vehicle Rig
by Bruce Walker
Thanks Carl, your tutorial helped me out a lot.
I've applied the various expressions to a bicycle animation I have to do for a kids show about ratios.
I've set up all the wheels, cranks and gears to work with your expressions tied to the frame.
But do you have any suggestions for putting a chain on the bike that would react with the turning of the cranks?

I tried trapcode 3d stroke along the chain path, with the intention of offsetting a dotted stroke, (and perhaps attaching an expression to that offset), but it didn't work.

Any help would be greatly appreciated.
cheers,
bruce
The Vehicle Rig
by randolph azzopardi
hey very nice tut,i need to do something using this ;) keep it up mate

randolph azzopardi
The Vehicle Rig
by Luis Cosme
Can you make this Tutorial in English? lol...
just kidding... it was great!
This can definitely be used for so many other things.
Thank you!
Luis
The Vehicle Rig
by Tim Wilson
Coming up on 10,000 articles in the Cow library, and I think this is the first one that mentions pi! And a tasty tutorial at that. :-) A very practical use of expressions, and very nicely handled even for a math-o-phobe like me. Keep 'em coming, Carl!
The Vehicle Rig
by Carl Larsen
2D and 3D are possible Erik, but I think I'm still mulling over how to do as simply as possible without having to bust out some calculus and dot products to make it happen.
The Vehicle Rig
by Martin L
Yeah! I can relate to that.
I think that most of the people here are familiar with the at least the basics and your tutorial really delivers tricks and techniques for pushing our knowledge further.


Something I really hold dear is a quick workflow. I would low to see more on that.



The Vehicle Rig
by Adriano Ninguem
Impressive. Right on the spot!

Thanks Carl. Great one as always!
The Vehicle Rig
by Carl Larsen
Glad to hear you enjoyed the tutorial. It's always a challenge to find a balance between being thorough versus just blasting through the details and getting to the fun stuff.

Thanks for the feedback.

The Vehicle Rig
by Martin L
Great tutorial!

I always find your tips very useful! And I really like that you have a good (meaning fast) tempo.
The Vehicle Rig
by Erik Waluska
Brilliant! Thanks, Carl. I only wish I had known this trick a long time ago.

I wonder if it would be possible to also factor in the Y position so that if you're vehicle is traveling over steep hills or something the wheel rotation would still match.

Maybe in "The Vehicle Rig! Part Deux" in 2D!

-E


Related Articles / Tutorials:
Adobe After Effects
Adobe After Effects Reverse Stabilization

Adobe After Effects Reverse Stabilization

You're going to be blown away by how you can power up your After Effects workflow with reverse stabilizing your footage! By separating your tracking from your compositing, you can focus on each step, and in addition, overcome the render order complexities when match moving elements and effects on a moving shot.


Roei Tzoref
Adobe After Effects
After Effects Content Aware Fill: When It Doesn't  Work

After Effects Content Aware Fill: When It Doesn't Work

There’s a new artificial intelligence-powered feature in Adobe After Effects called Content-Aware Fill that allows you to remove anything from your shots fairly easily! It's powerful, but if you’ve tried it you know that it doesn’t always work perfectly. So what do you do when it doesn’t work as well as you'd hoped? Filmmaker Cody Pyper is here to show what to try next!


Cody Pyper
Adobe After Effects
VFX in Adobe After Effects: An Artists Panel (NAB)

VFX in Adobe After Effects: An Artists Panel (NAB)

Join panelists Andrew Kramer of Video Copilot, Jayse Hansen, and Mary Poplin of Boris FX, along with moderator, Victoria Nece of Adobe, as they discuss the world of visual effects from an artist’s perspective.


Adobe Creative Cloud
Adobe After Effects
Scars, Tattoos & Digital Makeup: After Effects & Mocha Pro

Scars, Tattoos & Digital Makeup: After Effects & Mocha Pro

How do you add SCARS, TATTOOS or DIGITAL MAKEUP to a person's face? Learn how to use Mocha Pro's planar tracker and the Mesh Warp tool to insert a flat image/video on a (non flat) human face! Join VFX guru Tobias G from Surfaced Studio for a closer look!


Tobias G
Adobe After Effects
Compositing Secrets Everyone Can Use, Pt 5: Brightness

Compositing Secrets Everyone Can Use, Pt 5: Brightness

The first challenge to understanding the nature of brightness in compositing starts with remembering that we're not actually seeing color at all, but rather something of an illusion that appears to us as color! Join longtime VFX artist, editor, software developer, and business owner Simon Ubsdell for Part 5 of the best look behind the technology of compositing that you've ever seen, as he takes a look at the math behind brightness, and how to apply that to the compositing toolsets in your favorite editing, compositing, and color grading applications.

Tutorial
Simon Ubsdell
Adobe After Effects
60 Second Tutorial: Alien Invasion in Adobe After Effects

60 Second Tutorial: Alien Invasion in Adobe After Effects

Here's a fast, fun one! Sixty seconds to create and animate an alien using the 3D and Track Camera tools to animate your character in Adobe After Effects. Use the included files, or bring your own!

Tutorial
Adobe Creative Cloud
Adobe After Effects
What Are Adobe Motion Graphics Templates?

What Are Adobe Motion Graphics Templates?

A Motion Graphics Template, referred to as a MOGRT, is an animated sequence that is self-contained and can be used in Adobe Premiere Pro, Adobe Premiere Rush and Adobe After Effects, combining graphics, text, audio and video files, as well as vector or still images (including logos), to create a still or animation that can then be customized by the MOGRT user. The result is a dynamic creative tool that provides design freedom and is consistent to its users across apps and devices. Reuse, share, and even sell them!


Rod Harlan
Adobe After Effects
Compositing Secrets Everyone Can Use Pt. 4 - Advanced Alphas

Compositing Secrets Everyone Can Use Pt. 4 - Advanced Alphas

When most people hear the words "alpha channels", they think "transparency", but that's not exactly accurate. The truth is more complex, and a quite bit more interesting! Join longtime VFX artist, editor, software developer, and business owner Simon Ubsdell for Part 4 of the best look behind the technology of compositing that you've ever seen, packed with practical advice for applying the secrets of alpha channels that's simply not possible before understanding these underlying principles. No matter which applications you're using for editing, compositing, or visual effects, this one is a must-see!

Tutorial
Simon Ubsdell
Adobe After Effects
Compositing Secrets Everyone Can Use: Pt. 3 - Alpha Channels

Compositing Secrets Everyone Can Use: Pt. 3 - Alpha Channels

When most people hear the words "alpha channels", they think "transparency", but that's not exactly accurate. The truth is more complex, and a quite bit more interesting! Join longtime VFX artist, editor, software developer, and business owner Simon Ubsdell for Part 3 of the best look behind the technology of compositing that you've ever seen, packed with practical advice for applying the secrets of alpha channels that's simply not possible before understanding these underlying principles. No matter which applications you're using for editing, compositing, or visual effects, this one is a must-see!

Tutorial
Simon Ubsdell
Adobe After Effects
Compositing Secrets Everyone Can Use 2: Advanced Blend Modes

Compositing Secrets Everyone Can Use 2: Advanced Blend Modes

Whether you're a full-time compositor and VFX artist, an editor working in one of the many NLEs that supports Blend Modes (including Adobe Premiere, Apple FCP and FCPX, Avid Media Composer, DaVinci Rsolve, and VEGAS Pro), or whether you just want the additional graphics power that comes with insight into the secret world of pixels, this is the tutorial for you! Join longtime VFX artist, editor, software developer, and business owner Simon Ubsdell for Part 2 of the best look behind the technology of blend modes that you've ever seen, with some practical steps you can start taking today to make your work look better than ever.

Tutorial
Simon Ubsdell
MORE
© 2019 CreativeCOW.net All Rights Reserved
[TOP]