Script interface for CollisionModule.
CollisionModule allows particles to collide with a predefined list of planes, or with the 2D and 3D physics worlds.
See Also: ParticleSystem, ParticleSystem.collision.
bounce | How much force is applied to each particle after a collision. |
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 | Allow particles to collide with dynamic colliders when using world collision 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 | Kill particles whose speed goes above this threshold, after a collision. |
maxPlaneCount | The maximum number of planes it is possible to set as colliders. |
minKillSpeed | Kill particles whose speed falls below this threshold, after a collision. |
mode | Choose between 2D and 3D world collisions. |
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. |
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 | Send collision callback messages. |
type | The type of particle collision to perform. |
voxelSize | Size of voxels in the collision cache. |