Particle System Collision Area?

so I've got a bunch of modules called "c4" labled red1,red2,red3, etc. And a laser made from particles, with angle controlled
by bckspace and enter keys:
onEnterFrame = function(){
for (m=1;m<4;m++){
c4 = this["red"+m];  
if(robot_mc.laser_mc.lasereye_mc.hitTest(c4.cap)){c4.gotoAndPlay("frame2"); }
    //laser controls
    if(Key.isDown(Key.BACKSPACE)){robot_mc.laser_mc._visible = true; robot_mc.laser_mc.lasereye_mc._rotation -= 7;}
    if(Key.isDown(Key.ENTER)){robot_mc.laser_mc._visible = true; robot_mc.laser_mc.lasereye_mc._rotation += 7;}
    if(!Key.isDown(Key.BACKSPACE) && !Key.isDown(Key.ENTER)){robot_mc.laser_mc._visible = !true;}
for(i=0;i<500;i++) {
    photons = this["photon"+i];   
    var k:MovieClip = robot_mc.laser_mc.lasereye_mc.attachMovie("photon","photon"+i ,robot_mc.laser_mc.lasereye_mc.getNextHighestDepth());
        k._xscale = Math.random()* 120 - 20;
    k._yscale = Math.random()* 180 + 35;
    k._y -= Math.random()* 10 +10;             //plus changes distance of start of beam, base changes range
        k.gotoAndPlay(Math.ceil(Math.random()*16));    }
The problem I run into is having the collision work with the beam, as opposed to the bounding box that begins with the
lasereye_mc. Is there a way to get the c4 to react with the beam, instead of the bounding box around the beam? Or a way to get the photons to interact individually? Also, is there a way to load a particle system through an onEnterFrame without it overloading/oversaturting ?    Thanks.

ok, so I added the remove movieclip at the end of the particle timeline,
and then cut down the i<500 to i<80, and added the c4.cap hitTest;
for(i=0;i<80;i++) {
    photons = this["photon"+i];   
    var k:MovieClip = robot_mc.laser_mc.lasereye_mc.attachMovie("photon","photon"+i ,robot_mc.laser_mc.lasereye_mc.getNextHighestDepth());
        k._xscale = Math.random()* 120 - 20;
    k._yscale = Math.random()* 220 + 35;
    k._y -= Math.random()* 15 + 10;             //plus changes distance of start of beam, base changes range
        k.gotoAndPlay(Math.ceil(Math.random()*16));   
            for (m=1;m<4;m++){
        c4 = this["red"+m];   
    if(c4.cap.hitTest(k)){c4.gotoAndPlay("frame2"); }
            } //end c4 for loop
    } // end photon for loop
and duplicated the loop for the c4 module. It now works like a charm ^_^
Thanks much!

Similar Messages

  • Poor quality when rendering CC Particle Systems II

    Hi Guys.
    I'm getting strange render results when I render out CC Particle Systems II cubes and tetrahedrons.
    I have the particles cascading out towards the viewer and they look great when I preview render in AFX but when I do a full render to H.264 mp4 they start really crisp and clear then turn in to a really pixelated mess as the render continues. It's odd. I tried rendering through Adobe media encoder but it's the same. I also tried just rendering the particle part of the comp and it does the same thing. Am I missing some settings?
    Any help would be greatly appreciated.
    Thanks

    Without seeing it in motion, it sounds like normal issues you would experience with an interframe compression scheme like H.264
    H.264 works on the principle of a few full frames scattered among a bunch of incomplete frames with interpolated data. Your first frame would be a keyframe with full data and that middle frame would be one that's incomplete. The reason it looks worse when the particles are on the screen is that there's also a lot more data happening. In the rest of your project, the compression is barely noticeable. This is an issue any time you are trying to design for broadcast or the web. Heck, you can even see this kind of artifacting in major releases. See, for example, the Planet Earth Blu-ray in any of the shots involving a massive flock of birds. You can see compression artifacts despite the pristine quality you would expect from them. There's only so much data you can squeeze out of a frame (to make it easily playable) before certain artifacts will creep in.
    You can either redesign to make it less likely to have artifacts when compressed or you can rest assured that most normal people won't even notice something like this as it flies past them on the screen.
    Now, this is all assuming your particles are moving quickly. If it looks like that with slow, smooth motion, something else may be wrong.

  • How to move a particle system with arrow keys?

    I have a little "ice fountain" particle effect and I want to
    be able to move it like an object. How do I use actionscript to
    effect a group particle system? (or have collision detection
    features for that matter)
    Code:
    this.createEmptyMovieClip("holder2_mc",
    this.getNextHighestDepth());
    for(i=0;i<50;i++) {
    var k:MovieClip = holder2_mc.attachMovie("ice","ice"+i
    ,holder2_mc.getNextHighestDepth());
    k._y = 350;
    k._xscale = Math.random()* 55 + 35;
    k._yscale = Math.random()* 55 + 35;
    k._x = Stage.width/2 -150;
    k._rotation += Math.random()* 90 -45;
    k.gotoAndPlay(Math.ceil(Math.random()*16));

    fixed:
    holder2_mc coordinates had to be loaded outside onEnterframe
    and outside the "for" but inside an onLoad, and the initial k
    coordinates had to be shut down.
    ------------- Code --------------------
    onLoad = function(){
    holder2_mc._y = 350;
    holder2_mc._x = Stage.width/2;
    onEnterFrame = function(){
    if(Key.isDown(Key.UP)){
    holder2_mc._y -= 5;
    if(Key.isDown(Key.DOWN)){
    holder2_mc._y += 5;
    if(Key.isDown(Key.LEFT)){
    holder2_mc._x -= 5;
    if(Key.isDown(Key.RIGHT)){
    holder2_mc._x += 5;
    if(Key.isDown(Key.SPACE)){
    //trace(holder2_mc._y);
    holder2_mc._rotation += 15;
    this.createEmptyMovieClip("holder2_mc",
    this.getNextHighestDepth());
    for(i=0;i<150;i++) {
    var k:MovieClip = holder2_mc.attachMovie("ice","ice"+i
    ,holder2_mc.getNextHighestDepth());
    //k._y = 350;
    k._xscale = Math.random()* 55 + 35;
    k._yscale = Math.random()* 75 + 25;
    //k._x = Stage.width/2 -150;
    k._rotation += Math.random()* 90 -45;
    k.gotoAndPlay(Math.ceil(Math.random()*16));
    //k._y -= Math.random()* 100 +25;
    //k._x += Math.random()* 100 -50;

  • Looping bubbles so it loops forever - Particle system

    Hi guys,
    Is it possible to loop bubbles, using the foam particle ? I want a glass of champagne and want the bubbles to loop, and never stop.
    Let's say you want to loop this over and over, so it seems seemless ?
    I don't see a way to accomplish this, as the bubbles are never the same on any frame. If you just cut out a portion of a rendered video, you will see it has been snipped. The bubbles will never match up.
    How would one go about this ?
    Thanks for any information,
    Dave.
    P.S. - there are so many AE forums, which one is the best to post in ? - where the most chat is going on ? It may be where I posted, but I'm not sure.

    [email protected] wrote:
    > Hi guys,
    >
    > Is it possible to loop bubbles, using the foam particle ? I want a glass of champagne and want the bubbles to loop, and never stop.
    >
    > Let's say you want to loop this over and over, so it seems seemless ?
    >
    > I don't see a way to accomplish this, as the bubbles are never the same on any frame. If you just cut out a portion of a rendered video, you will see it has been snipped. The bubbles will never match up.
    >
    > How would one go about this ?
    >
    > Thanks for any information,
    >
    > Dave.
    >
    > P.S. - there are so many AE forums, which one is the best to post in ? - where the most chat is going on ? It may be where I posted, but I'm not sure.
    I have not watched the podcast, but the title sounds promising.
    http://cowcast.creativecow.net/podcast/creating-a-looping-particle-system--250

  • Which 3D software will do the particle system best?

    Which 3D software will do the particle system best? Because I have Lightwave 3D 8, it doesnt do what I really want. I couldnt transfer from one action of particles to another action but makes two different actions of particles instead. For example, I want an explosed particles turning into flying then again explosing. Just the transformation of action that Lightwave cant do. So, I remember I was told Combustion has one of best particle system.. So, I need your knowledge and experience to make some recommendation for me to check which software I may get to use for a better particle system to make?? Please let me know.

    Hmm. Not really a Final Cut Pro question you are asking there . . . .
    . . . however so as to appear somewhat helpful anyway . .
    I use Trapcode Particular in After Effects and Particle Ilusion which is a dedicated piece of particle generation software.
    Others here will use Motion or Combustion.
    Trapcode Particular and Particle Ilusion will let you work in a 3D space.
    The ultimate 3D particle system is usually regarded to be the one in Maya Unlimited.

  • Can not receive Mac mail -error Outlook cannot find the server. Verify the server information is entered correctly in the Account Settings, and that your DNS settings in the Network pane of System Preferences are correct.  Account name: "MacMail"

    Can not receive Mac mail -error Outlook cannot find the server. Verify the server information is entered correctly in the Account Settings, and that your DNS settings in the Network pane of System Preferences are correct.  Account name: "MacMail"
    What are the correct mail account settings and more importantly the correct DNS settings
    Thank you for any help you may be able to provide
    Cheers
    Chris (iMac i7)

    Do not delete the old account yet. sign up for an iCloud account if you haven't.
    I understand .mac mail will still come through. Do not delete the old account yet.
    You cannot use .mac or MobileMe as type of Account, you have to choose IMAP when setting up, otherwise Mail is hard coded to change imap.mail.me.com to mail.me.com & smtp.mail.me.com to smtp.me.com, no matter what you try to enter.
    iCloud Mail setup, do not choose .mac or MobileMe as type, but choose IMAP...
    On second step where it asks "Description", it has to be a unique name, but you can still use your email address.
    IMAP (Incoming Mail Server) information:
              •          Server name: imap.mail.me.com
              •          SSL Required: Yes
              •          Port: 993
              •          Username: [email protected] (use your @me.com address from your iCloud account)
              •          Password: Your iCloud password
    SMTP (outgoing mail server) information:
              •          Server name: smtp.mail.me.com
              •          SSL Required: Yes
              •          Port: 587
              •          SMTP Authentication Required: Yes
              •          Username: [email protected] (use your @me.com address from your iCloud account)
              •          Password: Your iCloud password
    Also, you must upgrade your password to meet the new criteria:  8 characters, including upper and lower case and numbers.  If you have an older password that does not meet these criteria, when you try to setup mail on your mac, using all of the IMAP criteria listed above, it will still give a server error message.  Go to   http://appleid.apple.com         then follow directions to change your password, then go back to setting up your mail using the IMAP instructions above.
    Thanks to dpepper...
    https://discussions.apple.com/thread/3867171?tstart=0

  • Why the video playback stotter but audio is ok and all system resources are ok as well?

    Hi,
    I'm using Premiere Elements 12 and prepared a project using m2ts files of my sony camera. When I started the project, everything was find, editing easy. Now, some months later I wanted to finish the project on the same laptop ( Intel Cor i5-4200 2,50GHz, 8GB RAM, 64 bit Windwos 8.1, 1TB Hybrid HDD, dual graphic: Intel HD Graphics 4600 and NVIDIA GeForce GT740M). The system resources are not completly used during the playback, maybe 10 - 15% usage, RAM is between 20 and 50% usage, harddrive usage is between 10 and 40% usage. Video data are stored local on the harddrive (not on USB or network).
    When I open the original files in e.g. VLC or Media Player the playback is perfect, no interupts. The playback of rendered elements in Premiere Elements is without interupts as well. Only "native", untouched HD material stotters after a short time I'm working on the project. It's the same for other videos, when I start a new project. It's anoying me because it was the reason why I decided for the SW.
    I deinstalled Premiere Elements completly, used also CCleaner to remove unused registry entries... reinstalled it completly after some restarts... updated to 12.1.0.0 but after an afternoon of installation, the same issue is back.
    Who can help me to fix it? Thanks for your feedback.

    Player version 7.1.6 is a very old version but it should play H264 / AAC videos without issue.
    http://support.apple.com/kb/DL837?viewlocale=en_US&locale=en_US a link for a more modern version.

  • NB200 - Notifications in system tray area

    Every few seconds I get an annoying pop-up notification in the system tray area that informs me of 'Blocked Events' These are all IPv4 TCP or UDP events. I'd really like to turn off these notifications but despite extensive internet searching I can't find out how to do this. I've tried the Action Centre and tried the obvious Firewall settings but nothing will stop them. I find them intensely annoying.
    I have a NB200-12W running Windows 7 Home Prmium (a recent upgrade from Windows 7 Starter Edition). - the issue occurs under both versions. initially I used the installed McAfee security suite but uninstalled that and I'm using F-secure 2009 Internet Security suite for which I have a currently valid license.
    The system is wirelessly connected to my BT Home hub router and is connected via the HomeGroup to two PCs. The other two computers are connected via ethernet cables to the router and both run on Windows 7 Home Premium with Avira internet security. I don't get the pop-ups on these machines.
    Any help would be greatly appreciated
    AE

    What program is generating the alerts - are you sure its f-secure or could it be the widows firewall or mcafee? I don't know anything about f-secure (other than I couldn't find a 2009 manual on their web site) but I would suggest that it will keep a log of events and that when you get close to the "option" that displays (and I would expect clears) it you will also find an option about displaying the event.
    Re my comment about what program is generating it - are you happy that you have removed all traces of mcafee? Have you run msconfig and looked at the services and startup tabs for any trace? Also look in task manager for any traces : in the services tab click on description to sort and look for mcafee starting the description similar in the processes but I think you would only ever have had 1 mcafee entry.
    I think this should have been the first para. Have you created/amended any firewall rules? The log file should give the ip address of the source event and is that in the range of ip addresses of your home network? and since you are bt internet customer do you have a bt vision pvr and is that the source?
    Message was edited by: peterk_1

  • Trying to re ord with a live mic but having trouble getting a good record or playback volume. As far as i know all my settings in system preference are correct. What am i missing?

    Trying to record with an external mic, but having trouble getting a good record or playback volume. As far as i know all my settings in system preference are correct. What am i missing?

    MartyJames777 wrote:
    Trying to record with an external mic, but having trouble getting a good record or playback volume.
    http://www.bulletsandbones.com/GB/GBFAQ.html#micline
    (Let the page FULLY load. The link to your answer is at the top of your screen)

  • Cross-System Depreciation Area Transfer

    Hi,
    I need to execute inter-co asset transfer between COD that have different depreciation areas.
    For eg,
    COD 1 - book depreciation area 01, tax depreciation 02
    COD 2 - book depreciation areas 01, US tax depreciation 10, 11,12,13
    Can anyone advise how do I configure the above? The transfer to book area should be using gross method and to tax area should be net method.
    Thank you.

    HI,
    Following are the steps required for the configuration as per your requirement
    1. define cross syteme depreciation area for both book of depreciation and tax of depreciation  in each company company code and as per the requirement mentioned check tax depreciation area  in COD 1 whethere any functionality (properties)of the tax  depreciation area mentioned in COD2 ma tches if it matches then we can mapp the cross system depreciation area to that particular depreciation area.
    2. check comapny id : whether it is legal entitiy( company code assigned to same company)
                                         whether it is independent legal entity ( company code assigned to different company)
    3. create transfer variant  enter the cross system depreciation area and mentioned transfer method( 1- gross method 2- nett method) and mention the transaction type one for retirement and acqusition resp  and mention the transaction type fro prior acq and current year acqsition.

  • Use of Cross-System Bussines Areas - ALE

    Hi,
    I'm cutomizing an HR and PY ALE scenario.
    Does anyone knows how to use different values in Cross-System Bussines Areas.
    I did it, and to send Master Data IDOCs it works perfect, it makes the conversion. But when I do the payroll run, it does not convert the value. So maybe I'm not doing the right customizing in OBB7 transaction or maybe this is not possible.
    I would appreciate all your help.
    Regards
    Edith Cuellar

    hi
    From my knowledge , you can create the order in different planning plant ,but every time you have specify the planning plant while creating the order. in this way the cost will be captured at the 2000 company code.
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/5b/ae2ea34b8611d182ba0000e829fbfe/content.htm
    also you can create separate work center for that plant do the billing according to the job performed
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/05/e2eb106f0a11d2a5aa0060087a7a74/content.htm
    Regards
    Thyagarajan

  • What is program roll area and  system paging area?

    hello sir,
    i am new to abap, plz give me the answer for the following question,
    1.what is program roll area and  system paging area?
    2.from these two, system allocate memory from which one of the memory?

    check this link.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/02/96274f538111d1891b0000e8322f96/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/34/d9c8b9c23c11d188b40000e83539c3/content.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/34/d9c8b6c23c11d188b40000e83539c3/frameset.htm
    Message was edited by: kishan negi

  • System settings are being updated??

    I bought an eMac from a friend of my husband's, and there wasn't the Safari icon to connect to the internet.  So, I clicked on the apple icon at the top left of the screen, then clicked on Mac OS X, and it would usually open up the internet browser and I could surf the web from there.  Well, my husband was messing around with the computer to try and figure things out, and now when I click on that same thing a gray box pops up in the middle of the screen and says that my system settings are being updated and it's unable to open my preferred web browser and I need to try again in a few minutes.  This started last night, so it's been well over 24 hours, as we let it set there thinking it just wasn't finished updating.  How do I get rid of that? 

    Hello Mrs. Long,
    Did you get the 10.4 Install Discs with it? If so power down, hold mouse button down at power on to open the tray & inset Install Disc, hold Option/alt key at same time to bring up the Startup manager so you can choose the Install Disk to boot from.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu at the top of the screen. (In Mac OS X 10.4 or later, you must select your language first.)
    Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.
    3. Click the First Aid tab.
    4. Select your Mac OS X volume.
    5. Click Repair. Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
    (Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.)

  • Outbound error "No cross-system business area has been assigned to bu. area

    Hi  everyone,
    i have idoc failed in outbound  with error No cross-system business area has been assigned to business area 0001
    Thanks in advance
    Soufiene

    Hi  Fernando,
    The issue is from HR ,  an entry for an employee was entered and suppose not it generated idoc failed.
    Thanks
    Soufiene
    Edited by: Soufiene Tchantchane on Sep 7, 2011 10:32 PM

  • Cross system depreciation area

    We are facing a production issue while transferring assets between two company codes . Each company code is assigned to diffreent chart of depreciation with different depreciation areas.
    Now we have to define cross system depreciation area to resolve this issue.
    Could you let me know what are the config stps involve in changing to corss system depreciation area.
    Alos if anyone has document on this please forward it.
    Thanks

    HI,
    Following are the steps required for the configuration as per your requirement
    1. define cross syteme depreciation area for both book of depreciation and tax of depreciation  in each company company code and as per the requirement mentioned check tax depreciation area  in COD 1 whethere any functionality (properties)of the tax  depreciation area mentioned in COD2 ma tches if it matches then we can mapp the cross system depreciation area to that particular depreciation area.
    2. check comapny id : whether it is legal entitiy( company code assigned to same company)
                                         whether it is independent legal entity ( company code assigned to different company)
    3. create transfer variant  enter the cross system depreciation area and mentioned transfer method( 1- gross method 2- nett method) and mention the transaction type one for retirement and acqusition resp  and mention the transaction type fro prior acq and current year acqsition.

Maybe you are looking for

  • How to get name of default mail server?

    Hi , I need to get the name of default mail server . In 1.5 i can get this using System.getenv("MAIL_SERVER");. How do i get this in 1.4? Since getenv() is depricated in 1.4 , how can i get the name of mail server in 1.4? plz help me....

  • Understanding the Invoke Node

    In the past, to create some organization, I would create some VIs and then call them from other VIs just by running it as a sub VI where I might pass it a value and the Sub-VI might return a value. Pretty basic stuff and honestly, pretty useful.  How

  • KM folders customization

    Hi, I have created an iView to show my news form. It's a requirement that only 3 news must be shown in this iView. I suppose I need to customize a KM forder in order to permit create only 3 news inside it. Could somebody tell me if I'm in the right d

  • Problem with ID3 tags in iTunes

    I was hoping that I could get some clarification on how iTunes uses ID3 tags with mp3s. The problem I am having is that I have fixed all the ID3 tags on my mp3s using another program (Tag & Rename is the name of the program, it does both v1 and v2 ID

  • Executable file won't work in terminal when I'm in it's folder

    I don't get it, I thought I could just go to a folder then I can execute an excutable file in that folder by simply typing it. For some reason terminal wants me to put in the entire path of the file to execute it even if I'm in the folder. Clearly th