I’m trying to spawn a geometry collections at runtime when an object is “broken” in-game.
When spawned at runtime, there are no collisions, even if set to Enabled (Querry and physics) and all objects responses are set to “block”.
I tried to spawn it as GeometryCollectionActor and as GeometryCollectionComponent.
I also tried to spawn some Field right after it : it doesn’t interact either. No damages.
Am I missing something ? How should I spawn the collections ?
I add the collection to the building part blueprint as a component from the beginning. This way, collisions work.
I set the relative scale to 0 and disable “Simulate physics”.
When the building is destroyed, I scale it back to 1,1,1 and and enable “Simulate Physics”.
This way, I can break building parts in a realistic way and at the same time have it rendered as a simple mesh with LODs and custom pass (for highlighting or other FX) when intacted.