Particle Disconnection Detector¶
Usually, in softbodies, particles are connected to each other through a chain of distance constraints. This detector observes the simulation mesh of the actor for disconnections (no chain of distance constraints available) between particles.
To use it you need to add it to a GameObject that has an Actor component and specify the indices of the particles that you want to monitor. When a disconnection is detected, the OnDisconnection event of that particle pair will be triggered.
Note
You can use this detector for detecting cuts or tears in softbodies, where the particles are disconnected from each other.