Disabling Chaos Anchor Fields at runtime

Hi everyone,

I’m using anchor fields to hold up my structures. However, I can’t find a solution to then have these be turned off at runtime. Right now I want to detect how much of the structure has been destroyed and then when it has reached a certain threshold, destroy the anchor field so the rest of the structure is simulated as normal. I’ve tried destroying the anchor field as well as running the function “Remove Construction Fields” but neither work. Anyone got any ideas?

Thanks!

2 Likes

I run into the same problem. Did you find a solution or workaround?

Same problem for me too. Surely there is a way to do this?

Something worked for me. I was trying many things like destroying the anchor field and clearing the Initialization field array etc. But it didn’t work.

Then I called the function “set dynamic state” on the geometry collection. Center position and radius should be set to cover the anchor field area. This worked for me.

Screenshot (492)

1 Like

I call “remove all anchors” blueprint for the Geometry Collection Mesh. It’s work but I want to remove specific anchor field. I can’t remove after the Geometry Collection break to many pieces. Does anyone know how to do that?

what about make an array of all your fields and then remove index once not needed?

I tried that but it didn’t affect the geometry collection because the anchor fields initialized in the construction. I just figure out a trick is to create other master field set “Force Dynamic Switch” variable to true. I set field falloff shape to box and set the class transform scale to 1. When I want to geometry collection to fall, I get the anchor field location and scale then spawn this new master field with the same location and scale as the anchor field. So the geometry pieces on that anchor will fall down. :smiley:

It worked, thanks!