Creating particles with BRAY/ARAY

  • TYRTlive
    20th Dec 2015 Member 0 Permalink

    Hi guys, I'm trying to make a basic drawing UI. 

     

    Do any of you know how to create a fixed block(any kind) with ray particles? 

     

     

    1. Create a block at intersection point

    Create a block at intersection point

     

    2. If there is only 1 beam, don't create anything.

    If there is only 1 beam, don't create anything.

     

    I'm looking for the simplest solution, so don't care which block it is. 

     

    If you know, you can explain the same thing with cray, so i can create the particles from the block I want. I saw some peeps using WIFI for that, but couldn't figure out how.

     

    Thank you.

    Edited once by TYRTlive. Last: 20th Dec 2015
  • LBPHacker
    20th Dec 2015 Developer 1 Permalink

    Simplest solution is sparking the ARAYs with any conductor other than PSCN. When sparked with PSCN, ARAYs shoot a sort of "cleansing BRAY" that kills any BRAY particles in its way. If two (non-cleansing, ordinary) BRAY beams collide, they create a "lingering" BRAY particle at the intersection point. An ordinary BRAY stays for 30 frames, a "lingering" one stays for 1020 frames. (So it's really not lingering, it just takes longer to disappear; you have to shoot it with BRAY every 1000 frames or so to keep if from disappearing.)

     

     

    There's something else though. Although it might look like it, BRAY beams shot in the same frame are not actually shot at the same time (unless they originate from the same particle of ARAY). One will be shot earlier, one will be shot later. The one that's been shot later stops when it collides with the one that's been shot earlier:

     

    First bray goes on, second BRAY stops

     

    Unfortunately the order of shooting depends on something called [particle order], which in turn depends on the order in which you placed your ARAY (or any other) particles. Saving and opening the simulation makes life somewhat easier; doing that resets the particle order so that the left-most particle in the top-most row is the first, the one on its right is the second, etc. and after that comes the row of particles below them.

  • Sandwichlizard
    20th Dec 2015 Member 1 Permalink

    @TYRTlive.  Why with BRAY?

     

     

    Edited once by Sandwichlizard. Last: 20th Dec 2015
  • TYRTlive
    20th Dec 2015 Member 0 Permalink

    @LBPHacker (View Post)

     Wow I thought it would be way harder than changing PSCN with another conductor. Thank you for explanation

     

    @Sandwichlizard (View Post)

    Like I said I saw that way. It doesn't have to be BRAY. But I found my solution. Thanks though.