Search Unity

Rigidbody2D for particles, impossible? any work arounds?

Discussion in 'Physics' started by kom0rebi, Jun 11, 2020.

  1. kom0rebi

    kom0rebi

    Joined:
    Oct 8, 2017
    Posts:
    10
    Hi, I wanted to create 2D water physics with particle system (I tried other asset with moderate success but quite a bit of performance issue since it is spawning 1000+ gameobjects as particles, was hoping particle system would have better performance). I tested it out with 2D collision component and it works great with other rigidbodies in the scene. However, since the particle doesn't detect collision for other particles, they would clump up at the end, like so:
    Capture.PNG
    I searched up some forums and can't find any solutions, so I just wanted to ask on here if it is truly impossible? I wanted to simulate the effect of water pouring in, if it is not possible, I guess I can cheat this and use a sprite with buoyancy effector. Is there a way to attach rigibodies to the particles and make the water level rises instead of clumping? Thank you!
     
    Last edited: Jun 11, 2020