First destructible mesh in level disappearing without fracturing
I have a level containing around 500 destructible cubes. Whenever I load it, first couple of cubes don't fracture when damage is applied to them, just disappear without creating any chunks. After destroying ~10 of them everything works correctly (chunks are created).
Chunk count for each cube is 40. The usual Apex max chunk count shouldn't matter in this situation, because there are no active chunks in the scene.
asked Sep 08 '17 at 09:31 AM in Blueprint Scripting
Okay, got it working. Even after changing the engine's ConsoleVariables.ini file the packaged game would not keep the settings.
What I did is add PhysX/APEX modules to dependencies (in Build.cs):
Then include the PhysXIncludes and PhysicsPublic file:
And finally override the max chunk count property of ApexModuleDestructible:
This works, but I am not sure if it's not a very 'hacky' way of approaching this. I will mark this as an answer and the question can probably be closed.
answered Sep 11 '17 at 04:58 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here