I’d like to create trails from pieces of a breaking geometry collection. This tutorial shows how to set this up and it works for me.
However, I have two questions. I might want to have different niagara systems for different geometry collections. The tutorial shows a setup that applies “globally”, but is there a way to choose which system is used for a particular geometry collection? There might be a way to do this with the material filter
but that would be very cumbersome to set up.
The second question is how to pass data to the niagara system from a geometry collection. For example, one geometry collection should have red trails while another should have green ones. Is there a way to do this?
If you want to use different Niagara Systems for different Geometry Collections, you can achieve this by using Physical Materials, like the image above.
Here’s how:
In your Niagara System, using the Chaos Destruction Data interface, enable Apply Material Filter.
Add the Physical Material you want that Niagara System to react to under Filtered Materials.
Make sure that all the materials assigned to your Geometry Collection have that same Physical Material assigned to them. At least in my tests, every material slot needs to have the corresponding Physical Material assigned.
With this setup, the Niagara System will only react to Chaos events from Geometry Collections using that Physical Material, ignoring the others.