Announcement

Collapse
No announcement yet.

Procedural Mesh Component and perfect collision

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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 :

    Click image for larger version  Name:	Sans-titre.png Views:	3 Size:	108.1 KB ID:	1736766

    And i want something like my red line.

    So, if someone can help me please

    Have a nice day,
    Last edited by SixtyOne; 03-25-2020, 01:32 PM.
Working...
X