通过此模块中指定的力(例如风或吸力)可对粒子加速。
属性 | 功能 |
---|---|
X, Y, Z | 在 X、Y 和 Z 轴上施加到每个粒子的力。 |
Space | 选择是在局部空间还是在世界空间中施力。 |
Randomize | 使用 Two Constants 或 Two Curves 模式时,此属性会导致在每个帧上在定义的范围内选择新的作用力方向。因此会产生更动荡、更不稳定的运动。 |
流体在移动时经常受到力的影响。例如,烟雾从火中升起时因周围热空气的拉升作用而略微加速。使用曲线在粒子生命周期内进行力的控制,可实现微妙的效果。根据前面的例子,烟雾最初会向上加速,但随着上升的空气逐渐冷却,力会减弱。从火焰冒出的浓烟可能最初会加速,然后随着烟雾的蔓延而减速,如果持续很长时间,甚至可能开始落到地上。
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.