Alain2131 Posted February 22, 2019 Share Posted February 22, 2019 (edited) Hey guys ! I'm starting out in CHOP, so be gentle. I'm trying some things to get going, and already hit a roadblock. I got a geo node that I'm assigning the rx rotation from CHOP, adding a sin wave to it. Works well. But where I'm stuck is that I'm trying to add that same animation to a second geo node, but I want to add some sort of time offset between the two animations. So I'm thinking "Let's add a timeshift node under the constant, and use some kind of global variable (I believe $C ? Or @C ? unsure) to make a random number for each channel as an offset number !" Sooo, that didn't work. $C and @C doesn't return anything interesting (aka. not 0 or not erroring out). Maybe I understand this wrong ? If so I'm unsure as to how to use those global variables. Also, as a side note, I've seen chan[X-Y] being used sometimes in videos, but didn't find it in the help. Nevermind found it, gotta learn to use it now. It's in the Common parameter section of a lot of CHOP nodes. So ! Is the idea wrong ? How should I approach this ? Thanks in advance ! chop_timeoffset_test.hip EDIT : P.S. I've just noticed that in the help, it says When processing multiple channels, [...]. So I believe placing the timeshift under the math node would be more appropriate. But even doing so it stills errors out. Also, there's this - but I haven't been able to make it work. I tried the different combinations of Reference and Unit Values, to no avail. Edited February 22, 2019 by Alain2131 Quote Link to comment Share on other sites More sharing options...
Alain2131 Posted February 23, 2019 Author Share Posted February 23, 2019 (edited) I've figured it out. I'm not sure what the timeshift does, but it's not what I need. I need the shift node, with $C put into the Scroll Offset, and change the Units to Frames in the Common tab. The shift node needs to be placed somewhere that has more than one channel (duh), and in my case under the math node was the correct location. The behavior will the that the first channel will have 0 frame of offset, the second will have 1 frame of offset, the third will have 2 frames, and so on. If I would have left the Units in Seconds, it would be 0, 1, 2 seconds of offset. Makes sense, but I didn't know about that when asking the question. Sooo, yeah, that's it ! Thanks for reading ! Edited February 23, 2019 by Alain2131 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.