enableInteriorCollisions
Allow particles to collide when inside colliders.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.ParticleSystemModule
public bool enableInteriorCollisions { get; set; }
Remarks
This can be particularly useful if you move colliders around in a script, and using particles for pickups, in order to avoid missing any collision events. However, it may be necessary to disable it in other cases, where you could find particles getting trapped inside colliders.