Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

Feedback Make ConvexHull Public

Discussion in 'DOTS Physics' started by mpforce1, Jan 27, 2020.

  1. mpforce1


    Apr 4, 2014
    Previously ConvexHull was a public type but was made internal in a release. I need access to the ConvexHull.GetSupportingFaces and ConvexHull.Planes members in order to implement a fix for phantom collisions. It would be nice if this type were made public once more or, if this is not possible/desirable, for there to be some other way to access these things. Thanks.
  2. Adam-Mechtley


    Unity Technologies

    Feb 5, 2007
    Hi there! Eventually we will get around to opening up many of the types that were made internal when we have proper bandwidth to devote to API design/validation/maintenance, and so on.

    In the meantime, it would be a pretty safe bet to make this type public in a copy of the package embedded in the project if those are the only facilities you are using. Definitely come back and provide more feedback though if you find yourself needing to do more involved modifications
    PhilSA likes this.