How can I set the same parameters for multiple Geometry Collections?

Hello community!

I’m trying to make a game that uses a lot of Geometry Collections, but I’m running into a problem.
I don’t know how to set the same parameters for multiple geometry collections. In particular, it is essential to delete debris after sleeping, so you should enable it for all geometry collections you use.
For now I’m changing the settings one by one, but I often forget to set the finer details.
I think it would be very useful if parameters could be standardized.

Any help would be appreciated!

Have you looked into fields:

There are examples with sleeping, disabling and deleting.

Thank you for your reply!
I’ve seen this page before but it didn’t contain the information I was looking for. What I’m looking for is to change a parameter like “Remove on sleep” on all geometry collections.
Sorry for the lack of explanation.

Hello? Anyone?

Hey there @chofuqiushan! Welcome to the community! If the parameter itself is accessible via the content browser or even actors in scene you could use the Property Matrix:

Hi!

You might want to look into DataFlows, as they could help with standardizing parameters across multiple Geometry Collections. However, the limited documentation makes it difficult to apply the logic to multiple assets properly. The example provided in the documentation doesn’t seem to work for this specific case, as it ends up overwriting all linked static meshes rather than allowing fine-tuned control over individual assets.

I’ve also seen some Unreal presentations where they demonstrated applying DataFlows to multiple Geometry Collections, but they lacked the details needed to fully understand how to implement it correctly.

If anyone has insights on how to properly set up DataFlows for this use case, I’d love to hear more!

Thanks everyone for the replies!

@SupportiveEntity
This seems to be what I was looking for. I think it will be a temporary solution.
But my ideal is that when I change one, it applies to all, like a material instance. The same mechanism is used elsewhere, so I believe it’s in the Geometry Collection as well.

@Olinuris
This is the first time I’ve heard of DataFlows. After looking into it, it appears that it’s something to use to set defaults when creating it, not to modify something that’s already been created. Maybe it would be useful to use it together with the property matrix.

If I understand the use case correctly, you could create a BP/subclass with the defaults you want and an event listener setup to check when things are changed. Is this for runtime or in editor as utility?

I don’t really understand…I didn’t think it was that hard.
I just want all my Geometry Collections to have the same settings. Either is fine with me as long as I can set it anyway.
However, since the parameters of the Geometry Collection cannot be changed in BP, I think i will need to change them in the editor. I don’t think it’s possible at runtime.

Hi,

If you want to change the settings on multiple geometry collection assets at the same time, I do recommend using a Utility Blueprint and create a scripted action with it ( so you can then right click on the assets and execute the script to change the properties )

Here you can find a documentation on how to use Utility Blueprint for that purpose

if you want to fracture / cluster geometry collection in similar way then, as suggested above, you can use Dataflow
You can find a quick introduction to dataflow for destruction here

I hope this helps

1 Like