CGTalk > Techniques > Character Rigging
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
Thread Tools Search this Thread Display Modes
Old 03-01-2003, 01:01 AM   #1
Draculus Various
goosh's Avatar
Javier Solsona
Character TD
DreamWorks Animation
Redwood City, United States
Join Date: Jan 2002
Posts: 382
Object lagging behind - frameCache

Hi all

Ok.. here is my little problem.. I've been working at this over and over and it doesn't work.. except for once when it did and I was doing exactly the same thing.. so I can't figure it out.

I have joints:

I want to rotate in Z joint 1 and joint 2 and 3 to lag behind by 4 frames and 10 frames respectivelly (of joint 1)

I created a frameCache node connected the joint1.rz to the Stream and the connected the past[4] of the frameCache to the joint2.rz and same with past[10] to joint3.rz

And it doesn't work!! :(

It's not copying the values across.... it keeps them between 0 and 1..

I also found that when I try to animate joint1.rz (after I connected everything) it doesn't let me move it.. it wants to go back to 0..

Any ideas?

Oh.. the only time when it did work.. when I moved the function curves around, then everything went crazy again :(



Old 03-01-2003, 10:08 PM   #2
olivier georges
olivier Georges
Rigging Supervisor
Join Date: Feb 2002
Posts: 111
hi goosh, i have never used frameCache node, but you can have the same result with this method :

create seven joints
Now add an attribute to joint1 called offset
and slect joint2 and create this expression:

$offset = joint1.offset;
joint2.rotateZ = `getAttr -t (frame - $offset * 2) joint1.rotateZ`;
joint3.rotateZ = `getAttr -t (frame - $offset * 4) joint1.rotateZ`;
joint4.rotateZ = `getAttr -t (frame - $offset * 6) joint1.rotateZ`;
joint5.rotateZ = `getAttr -t (frame - $offset * 8) joint1.rotateZ`;
joint6.rotateZ = `getAttr -t (frame - $offset * 10) joint1.rotateZ`;

now you can control the lag of your joints with the offset attribut

Olivier Georges.
Old 03-02-2003, 08:47 PM   #3
jschleifer's Avatar
CGSociety Member
jason schleifer
Head of Character Animation
Join Date: Apr 2002
Posts: 878
Send a message via AIM to jschleifer
Heya goosh,

strange.. this used to work, but now it's a bug!


I'm logging it to the alias|wavefront web site right now.

poop on a stick!
jason schleifer
Animator -
Co-Founder -
Old 03-03-2003, 08:41 AM   #4
Alec Fredericks
2K Games
San Rafael, USA
Join Date: Dec 2001
Posts: 584
Send a message via AIM to ACFred Send a message via MSN to ACFred Send a message via Yahoo to ACFred
If you guys come up with a node-based alternative to the now broken frameCache, please post it here. I'm hunting high & low and will let you know if I figure it out soon.

Old 03-03-2003, 08:51 AM   #5
Draculus Various
goosh's Avatar
Javier Solsona
Character TD
DreamWorks Animation
Redwood City, United States
Join Date: Jan 2002
Posts: 382
Hey Jason

Oh.. it's good to know that it's broken... I was getting pretty frustrated with it.. 'cause I knew it should work..

What threw me off was that I actually managed to do it once doing the same thing over and over.. and then I couldn't replicate it anymore.. it drove me crazy!

Pitty it doesn't work though :( it would have been helpful in what I'm working on right now :(

Like ACFred said.. if anybody finds a way to do it, let us know

Old 01-14-2006, 02:00 PM   #6
CGTalk Moderation
Lord of the posts
CGTalk Forum Leader
Join Date: Sep 2003
Posts: 1,066,479
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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 09:27 AM.

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