|
1. Start
up Layout and load in "Pistons.lwo". It consists of two parts.
The Base and the Shaft. Notice how the objects "Pivotpoints"
are set. I made this in Modeler using the "Pivot" tool, just
so I could save some time writing this tutorial. Figure 1.
|
|
2. We
are gonna automate this piston using Inverse Kinematics. And for this
we need 4 nullobjects. Two for the Base, and two for the Shaft. Start
by adding two nullobjects called "Base_base" and "Base_end".
Parent the "Base" layer to "Base_base" null, and parent
"Base_end" to "Base" layer. So you have a chain going
Base_base -> Base layer -> Base_end. Then move your nulls into position
as shown in figure 2.
|
|
3. Now
repeat the above steps for the "Shaft" layer. Add two nulles
called "Shaft_base" and "Shaft_end". Move the nulls
into position as in figure 3. Parent the "Shaft" layer to "Shaft_base"
and parent "Shaft_end" to the "Shaft" layer. When
you perform the parenting actions, you will see the "Shaft"
layer jump up as much as you repositioned the null. So move your "Shaft"
back down again. You want to have figure 3.
|
|
4. Now
we are gonna setup the Inverse Kinematics. Select "Base_base"
go into the "Motion Options" by pressing "m" on your
keyboard.
|
|
5. Repeat
the exact same process as above, but replace "Base" with "Shaft"
and set the "Goal Object" to Base_base". There, now you can build that machine with cool looking hydraulics just like you always dreamed of.
|
| Click
HERE to return to the index of tutorials. Tutorials for the People is brought to you by Niklas Industries in cooperation with the Socialist Republic of The Internet. Copyright 2001 © Niklas Andersson To mail me, click HERE. |