Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions able to tell when partical hit layer scrpit?

  • able to tell when partical hit layer scrpit?

    Posted by Timothy Carr on October 6, 2011 at 9:19 am

    Hi am i able to tell when a particle hits a layer via expressions? I am making a particle system that emits bullet shells, and would like to automate the process of adding sound. Also can a layer be duplicated and moved to a cirten time via expressions?

    Thanks,
    Tim

    PS i have cc particle world and particular.

    Stefan Hinze replied 14 years, 7 months ago 3 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    October 6, 2011 at 1:29 pm

    It’s probably not practical. You might be able to do something using sampleImage() on the layer with the particles, but it would be really slow. You might actually be better off creating your own particles out of small layers, then you should be able to detect collisions with other layers a lot easier (it’s still not simple, but definitely do-able).

    >Also can a layer be duplicated and moved to a cirten time via expressions?

    No, expressions can only affect the value of the property hosting the expression. They can’t create layers (or move them in time).

    Dan

  • Stefan Hinze

    October 6, 2011 at 10:50 pm

    “particle hits a layer”
    don´t know.
    i think Mr. Ebberts i the right person to awnser this question!!!
    (greetings)

    “layer be duplicated and moved”
    you don´t need a expression for this.
    you need a SCRIPT for that kind of stuff.

    try your luck at “aescripts”!
    hope that helps

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy