View Full Version : Small Expression for fins

04 April 2006, 02:30 PM
hi folks

right now iam doing fish rig i written small expression for fins but iam not getting exact movement what i want any one know wanna ./............

i did through the wave amplitute ,wavefrequency ,these all are the custom attributes, but how to ctrl exact speed?


04 April 2006, 03:42 PM
Imagine if you have pCube1 and want to do that in the translateX attribute.

you can do something like:

pCube1.translateX = sin(time);

and if you want to give it more speed, multiply time by a value, like:

pCube1.translateX = sin(time*10);

and in the place of the value that multiply time, you can put a rand to randomly change the speed, between a value given by you...

Hope it helps


CGTalk Moderation
04 April 2006, 03:42 PM
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.