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 /
  • Help Room /
avatar image
0
Question by FeeeshMeister · Sep 25, 2016 at 06:57 PM · sizeparticle systemmaximumminimumexponential

How can I make a particle system with varying size, but a low chance of very large and very small particles?

I have a particle system used for sand falling through a crack in the ceiling. Since sand particles vary in size, I am using random between two constants, but what I want to do, is have a min and max value, and the value in the middle has an exponentially higher chance of occurring. To better explain, if the min is 0, and the max is 1, 0.5 will occur the most frequently, and the closer it is to 0 or 1, the rarer it is. I would prefer to do it with the particle inspector, or with c# scripting. It needs to be at least possible to optimize, if it isn't already. Thanks in advance.

Comment
Add comment
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

1 Reply

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

Answer by AurimasBlazulionis · Sep 25, 2016 at 07:15 PM

Yes, you can. In your particle system, in the top, you can see a button called Open Editor. It will open a new window, inside it, find start size, there is a little arrow which lets you choose Curve. Select Curve And now you can create a curve.

The more of the same height you have across the curve, the more of that size will appear. You should first select a linear option which goes from 0 in the left to 1 in the right, then add keyframes using double click on the curve and then move anyhow you like.

The curve in the picture below should do something you like, edit it anyhow you like, it seems you will have to move keyframes a bit higher, since you want in 0-1 range and I did it for 0-5 range. and in the top left you can edit 1.0 to make whatever maximum size you want of the particles.

alt text.


screenshot-from-2016-09-25-22-08-18.png (106.7 kB)
Comment
Add comment · Show 1 · 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 FeeeshMeister · Sep 25, 2016 at 08:28 PM 0
Share

@TheDiamondPlay , thank you for answering, but when I tried that same method before, the curve was for size over time, and at the beginning it would be very small, and grow exponentially larger. What am I doing wrong? I do not currently have access to my computer, so I can't say what my settings were.

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

74 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

Related Questions

Please help me! Correct script) , 0 Answers

How to determine the maximum and minimum values of Input.GetAxis("Mouse X")? 1 Answer

Are there global particle settings? / My size doesn't fit tutorial size. 0 Answers

Is there a minimum size gameObject for spring joints to work? 0 Answers

Artifacts on Screen Through Particle Smoke,Particle Smoke Making Strange Artifacts on Screen 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