4/19/2023 0 Comments Duplicate particle playgroundNow that I have it set up, I want to duplicate the group of layers (footage item, various effects, and null object controller) multiple times. For convenience I have these expression linked to a controller null object so I can control them from one place. These layers together make up an overall effect for a piece of footage. I have a fairly complex set of expressions on multiple layers. I hope I've provided enough information to help someone wrap their head around this and hopefully help me solve it. Which is then assigned to the final X position of the null object. The formula the variable is being run through looks like: I want to continue to subtract a value which is based on the velocity of another object from this, which I have worked out, I just can't figure out how to reference what this nulls X position was in the previous frame so it always returns the same value until all motion has stopped. I feel like it's not the correct syntax, but I really have no idea. But it's just returning a static value, even though I'm subtracting from it. So in my mind, this should be taking a look at the value of X on the null, then looking back in time to figure out what it's value was on the previous frame (my frame rate is 24, so I'm dividing 1 second in to 24 pieces and telling it to subtract that much from the current time), and assigning whatever that returns to the variable. I'm not sure where I'm going wrong, but the line I'm trying to do it on is written as follows: I'm trying to assign it to a variable (prevframe). So, I'm trying to assign the X value a null object had at the previous frame so I can continue to subtract a number from it cumulatively.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |