Jump to content


  • Content count

  • Joined

  • Last visited

  1. deltamish

    Set Material of Selected Face at Runtime

    Hey sorry for the delayed response. Has the library been updated if so. How can I update to the latest version Thanks
  2. deltamish

    Set Material of Selected Face at Runtime

    How Can I apply pb_Object to mesh generated at runtime ? I tried something like this and I get the error as shown below Do let me know if I am doing something wrong ROUGHLY WRITTEN CODE (OT COPY PASTED) GameObject cube = GameObject.CreatePrimitive(PrimitiveType.Cube); pb_Object pbo = cube.AddComponent(typeof(pb_Object)); pbo.Awake(); pbo.ToMesh(); pbo.Refresh(); NullReferenceException: Object reference not set to an instance of an object ProBuilder.Core.pb_Object.ToMesh (MeshTopology preferredTopology) (at Thanks
  3. deltamish

    Set Material of Selected Face at Runtime

    Thanks man. It worked. This is probably the most active developer to user community out there. Appreciate the hard work man
  4. deltamish

    Use Poly Shape tool with Custom script

    Hey sorry for the delayed response. Solved the issue it was just I had missed out the following lines and had to add first point again pb_object.ToMesh(); pb_object.Refresh(); Thank you so much for the circle example will use that in my project
  5. Hey, I know this question has been asked many times but those answer were mainly built around ProBuilder 2 and before Basic and Advanced classification was removed. So coming to the point. How can I replicate face selective behavior like in ProBuilder 2 runtime example and also have capability of applying different material to selected face at runtime (C#). Thanks cheers
  6. Hey , I was working on a runtime simulation tool for which I wanted to use the pb_Poly shape to allow user to create meshes of any shape dynamically So decided to appent points in pb_poly shape manually Problem is the points are not getting connected at the end. And thus no poly is drawn Could you be kind enough to let me know how to go around this thanks Regards