Skip to content

Allow skipping vertex duplicates on Ammo mesh generation #5765

Closed
@LeXXik

Description

Forum: https://forum.playcanvas.com/t/much-faster-collision-mesh-building-without-removeduplicatevertices/33488/1

This is a feature request to allow skipping the removal of duplicate vertices during a collision mesh generation. According to the OP find, it seems to have a potential to improve the trimesh generation time.

At the moment, the engine forces Ammo to loop through the vertices to find and remove the duplicates here (true flag):

triMesh.addTriangle(v1, v2, v3, true);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions