粒子系统 CollisionModule 的脚本接口。
bounce | 在碰撞之后向每个粒子施加的力的大小。 |
bounceMultiplier | ParticleSystem.CollisionModule.bounce 的乘数。 |
colliderForce | 在被来自此粒子系统的粒子击中时,向碰撞体施加的力的大小。 |
collidesWith | 控制与此粒子系统碰撞的层。 |
dampen | 在碰撞之后每个粒子失去的速度的大小。 |
dampenMultiplier | 更改阻尼乘数。 |
enabled | 指定启用还是禁用 CollisionModule。 |
enableDynamicColliders | 在使用世界碰撞模式时,允许粒子与动态碰撞体碰撞。 |
lifetimeLoss | 一次碰撞减少粒子生命周期的程度。 |
lifetimeLossMultiplier | 更改生命周期损失乘数。 |
maxCollisionShapes | Unity 在粒子碰撞方面考虑的最大碰撞形状数。会忽略多余形状。地形优先。 |
maxKillSpeed | 湮灭碰撞之后速度超过此阈值的粒子。 |
minKillSpeed | 湮灭碰撞之后速度低于此阈值的粒子。 |
mode | 在 2D 与 3D 世界碰撞之间进行选择。 |
multiplyColliderForceByCollisionAngle | 指定物理系统在从粒子向碰撞体施加力时是否考虑碰撞角度。 |
multiplyColliderForceByParticleSize | 指定物理系统在向碰撞体施加力时是否考虑粒子大小。 |
multiplyColliderForceByParticleSpeed | 指定物理系统在向碰撞体施加力时是否考虑粒子速度。 |
planeCount | Shows the number of planes currently set as Colliders. |
quality | 指定针对场景中碰撞体的粒子碰撞准确性。 |
radiusScale | Unity 在处理碰撞之前应用于每个粒子大小的乘数。 |
sendCollisionMessages | 发送粒子回调消息。 |
type | 要执行的粒子碰撞的类型。 |
voxelSize | 碰撞缓存中的体素的大小。 |
AddPlane | Adds a collision plane to use with this Particle System. |
GetPlane | 获取与此粒子系统关联的碰撞平面。 |
RemovePlane | Removes a collision plane associated with this Particle System. |
SetPlane | 设置要与此粒子系统一起使用的碰撞平面。 |
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.