Masoud Posted January 19 Share Posted January 19 Hi guys, I animated an object (rotating the y-axis) and copied it on a line SOP points. Now I would like to vary (shift) the "start frame" of the animation for each copy, using CHOP. The problem is I know how to do it for attributes like the "P", but what should I do for the Rotation, which is not accessible as an attribute? Thanks for helping. Randome Rotation.hip Quote Link to comment Share on other sites More sharing options...
RobiDoes3d Posted January 20 Share Posted January 20 Hi Masoud, you can do this: 1. Attribute create SOP - make an attribute named Rotation, and animate the value from 0 to 1. This will be your animation which you will later shift to other start frames 2. in the CHOP network, geometry CHOP - put Rotate in "Attribute scope" and "rename scope". If you look at the motionFX view, you can see that your shift CHOP is doing what you want it to do 3. channel SOP - put Rotate in the "Channel Scope" and "Attribute Scope", to fetch the adjusted attribute from CHOPs back into SOPs 4. Attribute VOP - you can use the 0-1 range and convert it into a 0-360 rotation in the y-axis. This one is hard to explain but I attached a .hip file and you can take a look at it that way. Randome Rotation fix.hip Quote Link to comment Share on other sites More sharing options...
Masoud Posted January 20 Author Share Posted January 20 Hi Robert, Thank you, man. Now it works perfectly, but is there any easier way to achieve the same effect? Quote Link to comment Share on other sites More sharing options...
RobiDoes3d Posted January 20 Share Posted January 20 If you want to avoid CHOPs, there is this way: Randome Rotation fix v2.hip 1 Quote Link to comment Share on other sites More sharing options...
Masoud Posted February 7 Author Share Posted February 7 On 1/21/2024 at 12:51 AM, RobiDoes3d said: If you want to avoid CHOPs, there is this way: Randome Rotation fix v2.hip 945.66 kB · 5 downloads Thank you 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.