Expression Editor

Become a member of the CGSociety

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

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
  11 November 2012
Expression Editor

Hello. I was wondering if anyone could guide me on how I can set an expression on a few object's rotation (ie rotz) to be affected by a custom parameter that has a float value from 0 - 1.

I understand that I could always do CustomPSet.CustomParameter * 90 so that when the parameter is at 0, the object would be at 0 and when it reaches 1, the object would rotate 90 degrees.

Lets say I have 5 of these objects but I don't want them to end their rotation at the same time. So I'm figuring out how I can use the condition expression to do lets say if the value of rotation degrees is less than 90, it will continue to increase and if it reaches 90, it will remain at 90. In that sense, I can set a variation to the speed of the rotation for each object by adding a multiplication such as for object A's rotation is * 2, object B's rotation is * 3. That would mean that object B would reach 90 degrees earlier than object 2 and would stay at 90 degrees.

I'm not sure you get what I mean. But if there is another way to achieve this without the use of expression editor ( aside from manually keyframing each object's rotation through time line, I want to start learning how to use expressions to make animation easier to control with a parameter ) I'd gladly follow the advice.

Thanks in advance for those who have taken time and consideration to read or reply.
 
  11 November 2012
I'd recommend using ICE to create your animated effect. Learn more on ICE kinematics at Vimeo.com

Or, look at these old videos of mine on eye lid rigging with expressions.
http://formandspace.com/blog/2010/0...ye-lid-rigging/
__________________
maya and zbrush training
creating CG3D since 2001

3D Models
@ Turbosquid

my Scripts
 
  11 November 2012
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
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
CGSociety
Society of Digital Artists
www.cgsociety.org

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

All times are GMT. The time now is 05:10 PM.


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