Announcement

Collapse
No announcement yet.

Niagara: Kill particles on collision not working

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Niagara: Kill particles on collision not working

    EDIT: Looks like it works in the 4.22 but "Collision Query" now is deprecated.

    Click image for larger version  Name:	SSSSS.JPG Views:	1 Size:	72.4 KB ID:	1588227
    I have done this to kill particles when they collide. But there is something weird.

    - In the main viewport or playing the game the particles aren't being killed.
    - Inside a blueprint, if I insert some component with collision, in that blueprint viewport particles are being killed.
    - If I put this blueprint in the world, the particles ignore that collision again.

    Is this a bug? At first I thought I was doing something wrong (and probably I am), but then, why inside the blueprint viewport are being killed?
    Is there anyway to solve this?

    Thank you.
    Last edited by Cucharón; 04-21-2019, 08:09 PM.

    #2
    No one knows how to do this? :-/

    Comment


      #3
      how did you get the Particle.hasCollided ?

      Comment


        #4
        You can use Expression -> New Expression and then a ternary operator to select between two values.
        Attached Files

        Comment


          #5
          Originally posted by Sacamerdeman View Post
          You can use Expression -> New Expression and then a ternary operator to select between two values.
          Exactly same result. It only works inside the viewport of a blueprint. But it doesn't work in the level viewport or ingame. (With "works" I mean that particles are killed when collide)

          Edit: Now I am testing it using the 4.22.1 version, collision query now works as inteded and kills my particle but it is deprecated so now I have to deal with the new and more complex collision system and again my particles are not diying... >.<
          Last edited by Cucharón; 04-27-2019, 08:51 AM.

          Comment


            #6
            It works fine in 4.22.3 with the Collision module Click image for larger version

Name:	Capture.JPG
Views:	239
Size:	29.0 KB
ID:	1644301

            Comment

            Working...
            X