pub fn reset_removed_soft_body_cluster_components(
rigid_body_sets: Query<'_, '_, &mut RapierRigidBodySet>,
soft_bodies: Query<'_, '_, (&SoftBody, Option<&SoftBodyPinnedParticles>)>,
pinned_clusters: Query<'_, '_, Entity, With<SoftBodyClusterPinned>>,
(removed_pinned, removed_shape_matching, removed_materials): ((RemovedComponents<'_, '_, SoftBodyClusterPinned>, Query<'_, '_, (), With<SoftBodyClusterPinned>>), (RemovedComponents<'_, '_, SoftBodyClusterShapeMatching>, Query<'_, '_, (), With<SoftBodyClusterShapeMatching>>), (RemovedComponents<'_, '_, SoftBodyClusterMaterial>, Query<'_, '_, (), With<SoftBodyClusterMaterial>>)),
)Expand description
System responsible for resetting the clusters whose SoftBodyClusterPinned,
SoftBodyClusterShapeMatching or SoftBodyClusterMaterial component was removed.
This must run before the removal of the clusters of despawned entities.