PDA

View Full Version : Scale a bones length via an expression - HOW do you do it?


Tricky4D
07-16-2003, 02:56 PM
Hi all,

Hope you can help out.

I'm trying to scale the length of a bone back and forth automatically by using an expression, then linking it up to a slider to control the speed of the reciprocation.
Like a breathing action.

I've tried using 'sine' function such as "sin (Fc * 4)", but the scale of the bone goes negative, where all i want is positive, 0 to 1 and back.

Many thanks if you can help..

Cheers

marci2001
07-16-2003, 03:44 PM
abs(sin (Fc * 4))

this may return positiv scalars only, I guess

M

CGTalk Moderation
01-15-2006, 03:00 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.