Search Unity

  1. Get all the Unite Berlin 2018 news on the blog.
    Dismiss Notice
  2. Unity 2018.2 has arrived! Read about it here.
    Dismiss Notice
  3. We're looking for your feedback on the platforms you use and how you use them. Let us know!
    Dismiss Notice
  4. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  5. Improve your Unity skills with a certified instructor in a private, interactive classroom. Learn more.
    Dismiss Notice
  6. ARCore is out of developer preview! Read about it here.
    Dismiss Notice
  7. Magic Leap’s Lumin SDK Technical Preview for Unity lets you get started creating content for Magic Leap One™. Find more information on our blog!
    Dismiss Notice
  8. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

Particles still collide even outside the plane border in collision modules.

Discussion in 'Physics' started by BoatBest, Mar 12, 2018.

  1. BoatBest

    BoatBest

    Joined:
    Jan 4, 2016
    Posts:
    29
    I want to make bomb particles collide with green floor, but not collide with the pond inside the green floor. What should I do? Because right now the particles just stay on top of the pond just like the green floor even the plane isn't cover the pond, the planes just stay only on the green floor.

    Here the photo:
    https://imgur.com/5clKNii
     
  2. dgoyette

    dgoyette

    Joined:
    Jul 1, 2016
    Posts:
    642
    Under Collision, you can control which layers the particle will collide with. You'll need to use World collisions for this, but note that you can put your Ground and Water on different layers (there's a Water layer by default...) and then configure your particles not to collide with Water:

    upload_2018-3-13_10-9-6.png
     
    BoatBest likes this.
  3. BoatBest

    BoatBest

    Joined:
    Jan 4, 2016
    Posts:
    29
    Thank You very much for the reply, but could you please explain a little bit more about how to manage layers in the game because right now when I use world the particles just pass through the map.
     
  4. dgoyette

    dgoyette

    Joined:
    Jul 1, 2016
    Posts:
    642
    What does the Collision module on your particle system look like? Paste a screenshot like the one I posted above?

    Do you have Colliders on your game objects? The World collision approach will require colliders, such as a Box Collider or Mesh Collider.
     
    BoatBest likes this.
  5. BoatBest

    BoatBest

    Joined:
    Jan 4, 2016
    Posts:
    29
    Yes, my collision module look like yours, as you said I don't have box collider on my terrain, because I don't know that it need to, then I put several of them to around my pond and leave the pond without box collider. In the Collider module, I press collide with only terrain. Now It Work!!! You really help me out!!! THANK YOU VERY VERY MUCH!!!!!!!!!!!
    I really appreciate!