need help with maya expressions

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Display Modes
  12 December 2002
need help with maya expressions

I try to animate a futurist helmet like Matt LeBlanc's one in Lost In Space.
So I modeled all the parts that will rotate on their axis (situated on the ears of the character).
I could animated by keyframes the unfoldment of the helmet, but I'd like to create an expression that does the job automaticaly.
For example at time 0 one part of the helmet is at its initial rotation angle, then at time 10 it begins to rotate, and finally at time 20 it reaches its maximum rotation angle.
My problem with expressions is that I can't create a progressive rotation movement, I don't know how to do it.

Thank you for your help, and please excuse my english ;P
Georges' biggest fan
  12 December 2002
I've studied a bit the expression for animation managment. I just can say that you need Maths knowledges. In you case work on trigonometric fucntion (cos, sin, tan, cos-1, sin-1,...). Note the randoms functions are very useful to add realism to the animation!!

  12 December 2002
Yes I'm aware I need to learn maths to use expressions, it will be very uselful to me.
I think the function I was looking for is the smoothstep (or linstep function too). But I don't understand very well how it works.
So I found a solution : SetDriven Keys
Georges' biggest fan
  12 December 2002
So look at those links and reply me!

I've another one I don't remember today, sorry!
  12 December 2002
I'm working on this like, so I've a lot of links

I've not found the last link yet.
  12 December 2002
What about your work??
  12 December 2002
Salut !
Apparement tu es français alors je vais etre fénéant et parler français
Merci pour les liens, les Lecture Notes sont très intéressantes.
En fait j'ai réussi a créer une expression pour mon casque. J'ai simplement associé la rotation des différentes parties du casque à la rotation d'un locator que je n'avais plus qu'à animer.

Merci encore A+
Georges' biggest fan
  12 December 2002
Instead of using complicated expressions, I'd use Set Driven Key.

That way you could create a 'Helmet Conrtol' object and add an attribute to it called 'Helmet Unfold'.

When Helmet Unfold is set to 0 the helmet is completely folded up, and when Helmet Unfold is set to 10 it's completely unfolded.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright ©2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 08:51 AM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.