Script interface for the Collision module.
See Also: ParticleSystem, ParticleSystem.collision.
| bounce | How much force is applied to each particle after a collision. |
| collidesWith | Control which layers this particle system collides with. |
| dampen | How much speed is lost from each particle after a collision. |
| enabled | Enable/disable the Collision module. |
| enableDynamicColliders | Allow particles to collide with dynamic colliders when using world collision mode. |
| enableInteriorCollisions | Allow particles to collide when inside colliders. |
| lifetimeLoss | How much a particle's lifetime is reduced after a collision. |
| maxCollisionShapes | The maximum number of collision shapes that will be considered for particle collisions. Excess shapes will be ignored. 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. |
| quality | Specifies the accuracy of particle collisions against colliders in the scene. |
| radiusScale | A multiplier applied 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. |