About creat_tet_finder

To use the tet_finder functions, first you need to get the interface.

        physxAttachment = omni.physx.acquire_physx_attachment_interface()

Next create the tet_finder for the tet mesh

        tet_finder_handle = physxAttachment.create_tet_finder(points, indices)

You can then use the handle for all the subsequent queries

        output = physxAttachment.overlap_tetmesh_sphere(tet_finder_handle, center, radius)
        tet_ids = output["tet_ids"]
2 Likes