Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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
0
Question by pintee · Oct 29, 2012 at 11:26 AM · particle system

Glass breaking particle system

I'm trying to simulate breaking glass using a particle system. How do you get each particle(shard of glass) to bounce off the floor when it collides with it? At the moment it is just going straight through the floor. Is this even possible with a particle system?

Comment
Add comment · Show 2
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 Fattie · Oct 29, 2012 at 12:14 PM 0
Share

very generally no it's not possible - particles don't bounce, have a collider or physics etc

What you are doing is a real challenge.

Simple solution: make one great animation of this happening (or hire a great animator to do that for you)

Just play the animation.

For randomness: make say 30 such excellent animations (all different), choose one randomly to play

avatar image hoffmanuel · Oct 29, 2012 at 12:27 PM 0
Share

why should it not be possible? there is the possibility to add particle colliders.

http://docs.unity3d.com/Documentation/Components/class-WorldParticleCollider.html

the question is, how much the performance will suffer if there are many particles / window or many windows i.g.

1 Reply

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by hoffmanuel · Oct 29, 2012 at 12:30 PM

http://docs.unity3d.com/Documentation/Components/class-WorldParticleCollider.html

i hope, that answers your question :)

Comment
Add comment · Show 5 · 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 Fattie · Oct 29, 2012 at 12:45 PM 1
Share

you know, there's two problems hoff --

(A) does WorldParticleCollider actually WOR$$anonymous$$ today? ???

  • It is marked Legacy

  • there is no scripting doco for it

  • I have never been able to get it to work! :)

(B) I am pretty sure, the particles are not be affected by gravity. You'd need gravity here, likely, as well as the bounce.

avatar image hoffmanuel · Oct 29, 2012 at 01:00 PM 0
Share

I see your point, Fattie. Thanks for that :)

But i am using the particle colliders for a poject of $$anonymous$$e, where the particles actually collide. With bounce, too. And to get the gravity effect, one could try to set the emitter velocity to the gravity direction (just a proposal, haven't tried yet.)

avatar image Fattie · Oct 29, 2012 at 01:32 PM 0
Share

facinating! I can never get it to work! :O Cheers...

avatar image hoffmanuel · Oct 29, 2012 at 01:46 PM 0
Share

the shuriken system also has collisions

http://docs.unity3d.com/Documentation/$$anonymous$$anual/ParticleSystem$$anonymous$$odules.html

avatar image Owen-Reynolds · Oct 29, 2012 at 02:01 PM 2
Share

hoff: for legacy gravity, set Force-Y (in the animator) to -9.8. Also note the particleCollider has a "bounciness" setting, if you want it more to pool on the ground or flow down a hill.

Works fine, once it's set up. Looks really strange if you play with the Stretch settings down in the renderer (the bounce makes the particle snap change facing.)

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

12 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

Related Questions

Particle system prefab not instantiated 1 Answer

Creating a splitting effect in Unity 1 Answer

How to layer particle systems going through other particle systems 2 Answers

Particle System 0 Answers

I need tips to make particle systems 0 Answers


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