Search Unity

NetTopologySuite for Unity3d

Discussion in 'Scripting' started by Zaibach333, Nov 27, 2015.

  1. Zaibach333

    Zaibach333

    Joined:
    Sep 4, 2011
    Posts:
    19
    So I was looking at powerful open source math libraries and managed to remove the need for extra projects for the C# NetTopologySuite Math library and make it work in unity.

    here's that:
    https://drive.google.com/open?id=0B06MUNjStsTNd3FVODdWTVROdEU

    original project hub:
    https://github.com/NetTopologySuite/NetTopologySuite

    simple sample project included in the package where a script attempts to find the medial axis of a given polygon,
    (code converted from this other example: https://gist.github.com/quommit/4605854)
    sampleMedialLines.jpg

    The asset store wouldn't let me put it up there as I didn't write the suite. But it's here now for anyone.

    Hopefully it inspires some nice applications.

    Thanks
     

    Attached Files:

    Last edited: Mar 28, 2017
    tonytopper and mgear like this.
  2. leoliao

    leoliao

    Joined:
    Jan 6, 2016
    Posts:
    1
    Great!
    Thanks for sharing!
     
  3. Zaibach333

    Zaibach333

    Joined:
    Sep 4, 2011
    Posts:
    19
    updated the links to this, still a useful library
     
  4. Prodigga

    Prodigga

    Joined:
    Apr 13, 2011
    Posts:
    1,123
    Thanks for all your hard work man, this is amazing!