FORUMS: list search recent posts

connect 2 nulls with line using inPoint

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Peter Zeet
connect 2 nulls with line using inPoint
on Jan 20, 2016 at 1:02:57 am

I connected 2 nulls with a line (shape layer), and I have to repeat that line a looot of times.
The nulls are moving at irregular intervals at the first frames of the timeline, so I want the bunch of lines follow these animations starting with their inPoint... I have it working with the position, but I have some issues making the rotation working with the valueAtTime...
any ideas?
this is what I was trying for the rotation, but the offsetting is not working properly
t = time-inPoint;
L = thisComp.layer("up")


Return to posts index

Dan Ebberts
Re: connect 2 nulls with line using inPoint
on Jan 20, 2016 at 1:37:38 am

Are the in points different for each layer? If so, I'm not sure how this is going to work. Don't you need the rotation to match where the nulls are at the current time?


Return to posts index

Peter Zeet
Re: connect 2 nulls with line using inPoint
on Jan 20, 2016 at 2:06:20 am

mmm I should have explained better:
the scene is something like an assembly line, and the animated shape layer would be a chain (with a product at the bottom). So the basic animation is the null at the top going from left to right of the screen, with some holds in the middle of the screen. The bottom null would drive the overlaping animation of that chain when the Up null makes the hold.(And going down to find a paint bucket and then up again) Then the animation continues to the right.
So this is repeated like 50 times. The way the scene is done I can't precompose anything (plus the client needs the scene this way), so I was faking it with the inPoint thing, so I just make the sequence once on each null.
Maybe there is a workaround to drive the bottom of the chain triggered by each shape layer's inPoint?

(this is one of these cases where I could have it done by hand and finished it time ago instead of trying to speed the proccess via expressions, but now I can't stop until I figure out how to do it via expressions! arg

anyway, if you think it's a waste of resources, I'll have to do it by hand

thanks again!

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 All Rights Reserved