Monday, 13 December 2010

A Perfect Tutorial?

Browsing through the internet searching for tutorials, I've find a blog page that might be the perfect tutorial I need. It shows a technique called Expressions. From what I can gather, it allows you to animate a model without the use of keyframes. The example happened to be a bug with wings. I could follow that example to model my Moth. I have been having a little trouble trying to figure out how to create the Moth so hopefully this would give me a solution.

The secret behind animating the wings appears to be some coding that must be added in the expression editor:

lWing.rotateX = time * 10;

(With lWing being the name of your model)

This code controls the X Rotation of the model and the "*10" part makes the flapping of the wings faster which makes it easier to see.

To make the wing back and forth, you add this code:

lWing.rotateX = sin (time * 10) * 40;

(To make the right wing animate properly, add a minus sign in front of "sin")

You can find more details here: http://www.talino.org/tutorials/exp1/

I haven't tested this out yet as currently, Maya is still down but I do plan to download Maya at home so I can try it anytime (and so I can work throughout the Christmas holidays) where ever it's the full version of a trail version.

No comments:

Post a Comment