I have a BP which I want to spawn and change the geometry collections on its componants at runtime, however Set Rest Collection node does not seem to do anything at all.
Does this node not work?
This is in 5.1.1
I have a BP which I want to spawn and change the geometry collections on its componants at runtime, however Set Rest Collection node does not seem to do anything at all.
Does this node not work?
This is in 5.1.1
Did you solve this?
5.3 and still issues trying to get rest collection to work. I find it does indeed set the rest collection, but the resulting mesh has no collision (even though all reports says collision is working.
As soon as I revert to hard coding the rest collection in the ‘add geometry collection node’ collision works just fine.
Like you I want to spawn an actor and set rest collection at runtime from a choice of data assets.
So far Chaos sucks.
Set Rest Collection is not working at all. It is too bad that nobody noticed this critical bug. I have tried every possible way and is not working.
So I was having some issues just like you guys. I had a Geometry Collection in a Blueprint and tried to use Set Rest Collection at runtime , from a table with all the GC, and it kept crashing the engine. So I changed the strategy and first spawned a GC, without a defaut value, and then changing the rest collection. It solved the crashing problem, but then I was left with another issue, that physics weren’t enabled even if I enabled it when spawning the new GC (I would spawn a BP with the master field to simulate the fracture, but the field was spawning and having no effect whatsoever). So I googled it and found two solutions that worked (dunno which one actually resolved it): the first one was adding the spawed field to the GC’s Initialization Fields, and the other was to spawn the GC but with simulate physics disabled, and then enabling it in the next execution node. Hope it helps.
Sources: Spawn and set GeometryCollection initialization fields at runtime
https://www.reddit.com/r/unrealengine/comments/1ael6bu/need_help_with_an_issue_with_adding_geometry/
Hey I know this is a longshot cause its so old, but Set Simulate Physics removes my anchors and the object falls to the ground. Is there a way to refresh the physics so it doesn’t remove anchors? OR perhaps get the anchors from the Geometry Collection so I can set them manually?