chumbucket Posted March 26, 2018 Share Posted March 26, 2018 (edited) Hi. I do have a DOP network which creates points. On those points I'm copystamping a line. I want to animate the length of the line starting with the birth of aforementioned points. So for every birthed point the length should start with 0 and reach a certain value in 1 sec. Here is a mock-up of what it should look like. I have no clue where to start. timeshift, for each loop, vops, vex. Edited March 26, 2018 by chumbucket Quote Link to comment Share on other sites More sharing options...
Sean-R Posted March 26, 2018 Share Posted March 26, 2018 You could use the particles age and life attributes and write them into a scale attribute in a wrangle like so: // Normalize the age by dividing it with the life attribute, this will give a value between zero and one float nage = @age/@life; //Because nage is a float variable it will be copied three times in the vector scale attribute v@scale = nage; Then plug this into a copy sop with your line geo at the maximum length you want. 1 Quote Link to comment Share on other sites More sharing options...
chumbucket Posted March 27, 2018 Author Share Posted March 27, 2018 Thanks Sean! Just to clear it up for others. 1. create a wrangler after the pop net 2. in the wrangler write float nage = @age/@life; //f@length because I just want to manipulate the length of the line and not the whole scale. Idon't want to fudge with the initial velocity I have set //previously. The 50 is just a multiplier. You could "ch" it for more convenience aswell f@length = nage*50; 3. In the copy sop tick on "Stamp Inputs" and create a variable "length" with the value "@length" referencing the previously created attribute from the wrangler 4. write this in the length parameter of the line sop //the line geo will look up the value from the copy sop. "0" is the default value stamp("../copy1/","length",0) 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.