Fork me on GitHub
Not signed in (Sign In)

Welcome, Guest

Want to take part in these discussions? Sign in if you have an account, or apply for one below

    • CommentAuthorSeanDare
    • CommentTimeJan 27th 2009 edited
     
    Hi,

    I've been using a BoundingBox to keep the particles in a certain area.
    However, I now have an animated horizontal line (wave) as a MovieClip.
    I'm trying to get the particles to bounce off the left, bottom and right wall... but use the horizontal wave for the top.
    Is this possible?
    • CommentAuthorRichard
    • CommentTimeJan 28th 2009
     
    You'll need to write your own action (similar to the bounding-box one) to bounce the particles off the wave.
    • CommentAuthorRichard
    • CommentTimeJan 30th 2009
     
    Sean

    I just noticed that it sounds like your wave is actually a straight line. If it is, you can just modify the bounding box accordingly by changing it's top coordinate to match the position of the wave.