Animate car wheels through Wire Parameter

Posted on: Aralık 20, 2008

Wire Parameters in 3dsmax is a powerful feature that makes animating objects simple. In this step by strep 3d tutorial lets see how to use this feature to animate a simple teapot car.

The teapot car is made out of a teapot and four cylinders for tyres as shown below.

Now, when the car moves forward or backward the wheel has to rotate accordingly. Instead of animating the wheels manually we can automate it through parameter wiring. Parameter is nothing but any value that can be modified, eg: Width, height, rotation values etc.

Wiring the wheel:

Step 1:

Select all the wheels and click on the ‘Select and link’ button, now place your mouse on the wheels, the cursor changes, now click on one of the wheels and you will see four dotted lines from all the four wheels, drag and leave it on the teapot, to link the wheels to the teapot, so that the wheels move along with the teapot.

Wheels Selected

Select and Link Button on the Main toolbar.

Select and Link – four dotted lines.

After Step 1, try moving your teapot, the wheels should also move with the teapot.

Step 2:

Select teapot and click on Animation in the menu bar. From the resulting pull down menu click on Wire Parameters -> Wire Parameters. or just pres Ctrl+5.

Wire Parameter – menu

Step 3:

From the resulting Popup menu Select Transform -> Position -> X Position (Ref Pic). Our teapot moves forward and backward in X direction. (Z is for up and down, Y for sideways movement.)

Step 4:

After selecting X Position move your mouse pointer, you will see a dotted line following, then click on one of the wheels.

Dotted line – After selecting X Position parameter.

Step 5:

Clicking on the wheel will bring another popup menu, from the menu you select Transform -> Rotation -> Y Rotation. (Ref Pic)

Here we are connecting the X Position (Forward and backward movement of Teapot) with Y Rotation (Rotation on its axis) of the cylinder. So when you move the teapot the wheel rotates.

Step 6:

After clicking Y Rotation on the menu you will be presented with Parameter wiring Dialog. On the dialog select Two Way Connection and click ‘Connect’ button. Then close the dialog.

Repeat Step 2 to Step 6 for all the other wheels. Now you move the teapot and see the wheels Rotating. If the wheel rotates too fast, in the expression editor under Expression for Y Rotation type as below

X_Position/2

This makes 1 unit of X Position of teapot to be .5 unit for Y Rotation of the cylinder.

Here is the file for your reference.

Download

Bir Cevap Yazın

Aşağıya bilgilerinizi girin veya oturum açmak için bir simgeye tıklayın:

WordPress.com Logosu

WordPress.com hesabınızı kullanarak yorum yapıyorsunuz. Log Out / Değiştir )

Twitter resmi

Twitter hesabınızı kullanarak yorum yapıyorsunuz. Log Out / Değiştir )

Facebook fotoğrafı

Facebook hesabınızı kullanarak yorum yapıyorsunuz. Log Out / Değiştir )

Google+ fotoğrafı

Google+ hesabınızı kullanarak yorum yapıyorsunuz. Log Out / Değiştir )

Connecting to %s

Kategoriler

%d blogcu bunu beğendi: