Search Unity

  1. Unity 2018.3 is now released.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. Want more efficiency in your development work? Sign up to receive weekly tech and creative know-how from Unity experts.
    Dismiss Notice
  4. Build games and experiences that can load instantly and without install. Explore the Project Tiny Preview today!
    Dismiss Notice
  5. Nominations have been announced for this years Unity Awards. Celebrate the wonderful projects made by your peers this year and get voting! Vote here!
    Dismiss Notice
  6. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  7. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

ProBuilder 4.0.0 Mesh Edit events?

Discussion in 'World Building' started by PassivePicasso, Dec 1, 2018.

  1. PassivePicasso

    PassivePicasso

    Joined:
    Sep 17, 2012
    Posts:
    44
    I've been playing with a new idea on how to utilize ProBuilder to build parametric objects. I want to essentially record actions conducted with probuilder so they can be modified replayed later with different values.

    Going down that line of thinking I was looking to see if there were any kind of Events that I could hook into the API in 4.0 but I couldn't find anything.

    Is there any way I would be able to track these actions? Ideally without modifying ProBuilder source doe.
     
  2. kaarrrllll

    kaarrrllll

    Unity Technologies

    Joined:
    Aug 24, 2017
    Posts:
    81
    Yes, in the upcoming API there are callbacks pre and post mesh modification.
     
    awesomedata likes this.
  3. PassivePicasso

    PassivePicasso

    Joined:
    Sep 17, 2012
    Posts:
    44
    Would there be enough information to determine what utility was used, or only that the mesh has changed?

    Is this callback available in the staged 4.0 preview? If so, could I get a nice little tip about where it is so I can play with it? :D
     
  4. awesomedata

    awesomedata

    Joined:
    Oct 8, 2014
    Posts:
    645
    Something like which edge/vert/face was modified so that one can get the triangles from it could be useful too.