DynamicMeshComponents with dense meshes have no collision / overlapping at all !

Hi everyone,

I’ve made a simple geometry script to use mesh sections data (from procedural meshes, mostly) to build dynamic meshes. It does work great and everything, except collision and line traces won’t work at all when the mesh is dense. It works perfectly otherwise. For testing, a simple 3DS Max sphere with 500 segments will work perfectly, but when using 625 segments, it won’t.

Here is the function I currently use:

And Here is my DynamicMeshComponent’s related settings

I tried several settings combinations over a few days and nothing seems to work. Any help is much appreciated

Ok. I found the solution and I hope it’s useful for others in the future. All you have to do is to execute this console command:

geometry.DynamicMesh.MaxComplexCollisionTriCount N

Where N is the Max triangle count that collision will work with (in DynamicMeshes)

1 Like