Car, turning wheels

Wondering how to accomplish a certain animation task? Ask here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
moorsel
Posts: 275
Joined: Wed Nov 16, 2005 8:07 am
Location: Netherlands
Contact:

Car, turning wheels

Post by moorsel »

I would like to create an animation in which a car drives by. How can I do the wheels of this car?. When I create just an image of a cars and let it move eg from left to right the wheels don't turn around and that looks a little strange.

Thanx in advance and gr,
Frank
User avatar
Víctor Paredes
Site Admin
Posts: 5815
Joined: Wed Jan 26, 2005 12:18 am
Location: Barcelona/Chile
Contact:

Post by Víctor Paredes »

http://www.freewebs.com/tazatriste/mohos/wheels.anme
i don't know if that is you want.
well i made a layer for the wheel, draw two ovals and rotate it in Y. i created another layer for the the "body" of the wheel and move the points to make the turning effect.
User avatar
heyvern
Posts: 7042
Joined: Fri Sep 02, 2005 4:49 am

Post by heyvern »

You could put the car and wheels on separate layers.

Then put them both in a group layer (AS Pro) or a bone layer (AS Standard)

Key frame the wheels motion without any forward motion. Put each wheel on a separate layer and put the center point of the layer on the center of each wheel and rotate the layer.

You could animate one wheel and duplicate the layer. The animation would already be done for the copy and you can translate the layer to where you need it. The layer rotation would still be there.

Animate the grouped layer to create forward motion to match the wheel rotation.

You could even use bones. Bind the wheels to bones and rotate the bones on that layer to "spin" the wheels. All the wheels could be on the same layer this way. Forward motion would always be the "parent" layer translation.

Rotating points doesn't always work as expected. If you rotate the points on a keyframe they want to find the closest LINEAR path to the next key frame and won't actually "rotate"... causing the wheels to "change size".

-vern
User avatar
Rasheed
Posts: 2008
Joined: Tue May 17, 2005 8:30 am
Location: The Netherlands

Post by Rasheed »

I created this simple car:

Image

The wheels turn in a loop from 0 to -360 degrees around the Z axis. The wheels also turn around the Y axis, with noisy interpolation. The whole car is translated with noisy interpolation to give the feel of a driving car.

The artifacts you see at the edges of the car are caused by GIF color optimization.
elbramtsol
Posts: 117
Joined: Tue Aug 31, 2004 5:57 pm

Post by elbramtsol »

There are several ways to do this. See my example too:http://www.geocities.com/elbramtsol/w.zip
User avatar
moorsel
Posts: 275
Joined: Wed Nov 16, 2005 8:07 am
Location: Netherlands
Contact:

Post by moorsel »

Thanx all of you for the help!

Gr,
Frank
User avatar
Víctor Paredes
Site Admin
Posts: 5815
Joined: Wed Jan 26, 2005 12:18 am
Location: Barcelona/Chile
Contact:

Post by Víctor Paredes »

ok, didn't understand.
maybe this one be more useful:
Image
i drew this tank. there is a bone (called "uno") in a wheel which controls all the other wheels' bones.

(right clic, save as)
http://www.freewebs.com/tazatriste/mohos/tanque.anme
User avatar
moorsel
Posts: 275
Joined: Wed Nov 16, 2005 8:07 am
Location: Netherlands
Contact:

Post by moorsel »

Thanx agian all of you for the help. This is the result:

http://video.google.com/videoplay?docid ... 4462167128

PS: this snippet is going to be used in a project I am working on:

http://www.lostmarble.com/forum/viewtopic.php?t=5679

Gr,
Frank
Post Reply