Download

Procedural Mesh Component and perfect collision

Hello, i have a simple question, can we make perfect collision with procedural mesh component. And, if yes, can you explain me how please. I setup collision for my procedural mesh, but it doesn’t perfect match, i want a heavy box ^^.

I make something like that when a spawn a procedural mesh

CreateMeshSection_LinearColor(0, vertices, triangles, normals, UV0, vertexColors, TArray<FProcMeshTangent>() , true);
// Enable collision data
AddCollisionConvexMesh(vertices);

I have something like that :

And i want something like my red line.

So, if someone can help me please :slight_smile:

Have a nice day,