Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
2
Question by Zucchinipi · Jan 03, 2019 at 06:39 AM · colliderparticle systemtriggers

Kill Particles Entering 2D Trigger

I have a 2D scene with a particle system and a square. I would like to give the square a Box Collider 2D as a Trigger (necessary for other parts of the scene) and have the particles die when they enter the square. To do so, I enable "Triggers" on the particle system, put the square in the "Colliders" field, and set "Inside" to "Kill." However, the particles pass through the box.

I also tried changing the type of the collider on the square with the same settings on the particle system, with the following (somewhat surprising) results:

  • Box Collider 3D, isTrigger = False: Particles do not pass through box

  • Box Collider 3D, isTrigger = True: Particles do not pass through box

  • Box Collider 2D, isTrigger = False: Particles do not pass through box

  • Box Collider 2D, isTrigger = True: Particles do pass through box

How can I get particles to die using a 2D Collider as a Trigger?

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image mcedgarsanchez · Aug 03, 2020 at 07:28 AM 0
Share

Hi, did you find the solution for your problem? I am facing the same issue.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by mcedgarsanchez · Aug 02, 2020 at 07:58 PM

Hi, did you find a solution for your problem? I am facing the same issue.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Zucchinipi · Aug 03, 2020 at 08:04 PM 0
Share

Sorry, I never figured out the problem. Best of luck!

avatar image DaBlackIgneel · Oct 07, 2020 at 05:53 AM 0
Share

Well for this situation, you can just use a Box Collider 3D. From my testing, it seems like Box Collider 2D does not work with the particle triggers right now however, 3D colliders work fine with it. If you need the Box Collider 2D trigger for something else, you can do both. Have a parent Game Object with the 2D Box Collider trigger, and a child game object with a 3D Box Collider trigger for particles. I've recently run into the same problem. Sadly my use case is a bit more complicated so I can't use the Box Collider 3D solution.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

132 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Translate Jump Trigger Collision Issue 1 Answer

Does OnTriggerStay ignore layers? 1 Answer

How to check which colliders that collision with some object ? 3 Answers

best way to check if a Vector3 point is within any of multiple colliders 1 Answer

How to Specify a Collider in OnTriggerStay function? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges