Script interface for the CollisionMmodule of a Particle System.
bounce | 衝突した後にそれぞれのパーティクルにどれだけ力を加えるか。 |
bounceMultiplier | A multiplier for ParticleSystem.CollisionModule.bounce. |
colliderForce | How much force is applied to a Collider when hit by particles from this Particle System. |
collidesWith | Control which Layers this Particle System collides with. |
dampen | How much speed does each particle lose after a collision. |
dampenMultiplier | Change the dampen multiplier. |
enabled | Specifies whether the CollisionModule is enabled or disabled. |
enableDynamicColliders | world collsion mode を使用している場合、パーティクルと動的なコライダーを衝突させます。 |
lifetimeLoss | How much a collision reduces a particle's lifetime. |
lifetimeLossMultiplier | Change the lifetime loss multiplier. |
maxCollisionShapes | The maximum number of collision shapes Unity considers for particle collisions. It ignores excess shapes. Terrains take priority. |
maxKillSpeed | 衝突した後に、この閾値を上回る速度のパーティクルを消去します。 |
minKillSpeed | 衝突した後に、この閾値を下回る速度のパーティクルを消去します。 |
mode | 2D と 3D 空間のどちらで衝突させるかを選びます。 |
multiplyColliderForceByCollisionAngle | Specifies whether the physics system considers the collision angle when it applies forces from particles to Colliders. |
multiplyColliderForceByParticleSize | Specifies whether the physics system considers particle sizes when it applies forces to Colliders. |
multiplyColliderForceByParticleSpeed | Specifies whether the physics system considers particle speeds when it applies forces to Colliders. |
planeCount | Shows the number of planes currently set as Colliders. |
quality | Specifies the accuracy of particle collisions against colliders in the Scene. |
radiusScale | A multiplier that Unity applies to the size of each particle before collisions are processed. |
sendCollisionMessages | 衝突コールバックメッセージを送ります。 |
type | 実行するパーティクルの衝突タイプ |
voxelSize | コリジョンキャッシュのボクセルサイズ |
AddPlane | Adds a collision plane to use with this Particle System. |
GetPlane | Get a collision plane associated with this Particle System. |
RemovePlane | Removes a collision plane associated with this Particle System. |
SetPlane | Set a collision plane to use with this Particle System. |
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.