Search Unity

  1. Are you interested in providing feedback directly to Unity teams? Sign up to become a member of Unity Pulse, our new product feedback and research community.
    Dismiss Notice

Help Wanted Fast procedural generation of mesh colliders

Discussion in 'DOTS Physics' started by slushieboy99, Jun 23, 2021.

  1. slushieboy99

    slushieboy99

    Joined:
    Aug 29, 2014
    Posts:
    30
    Before I began converting my project to DOTS I had quite fast collision mesh creation by changing the cooking options I.E. weld vertices, clean mesh etc. I've been trying to find a way to do this with DOTS and came across this thread: https://forum.unity.com/threads/uni...parameters-to-disable-internal-checks.776402/, but I'm having trouble implementing it, most of the interfaces are internal and some of the methods don't exist anymore.

    Does anyone know if there's an easier way to do this now? I can see that MeshCollider.Create does not appear to have any definitions with parameters for cooking options, but maybe there's an easier way.

    Also, any tips for mesh creation in DOTS would be greatly appreciated, currently I'm doing running MeshCollider.Create inside of a job and it's EXTREMELY slow even with burst enabled. (A lot of Semaphore.WaitForSignal). I'm very new to DOTS so any tips would be greatly appreciated. Thanks!
     
unityunity