Search the Community
Showing results for tags 'shape'.
Found 3 results
-
Hello, it's my first question. I need to create shapes based on vertices as in the editor (capture attached) I try to find something to create meshes procedurally, currently have this code, but it produces an exception pb = new pb_Object(); List<Vector3> points = new List<Vector3>(); points.Add(new Vector3(0, 0, 0)); points.Add(new Vector3(1, 0, 0)); points.Add(new Vector3(0, 1, 0)); points.Add(new Vector3(1, 1, 0)); //same as in editor pb_ActionResult ar = pb.CreateShapeFromPolygon(points, 1, false); pb.ToMesh(); pb.Refresh(); Exception: NullReferenceException UnityEngine.Component.GetComponent[MeshFilter] () (at C:/buildslave/unity/build/artifacts/generated/common/runtime/ComponentBindings.gen.cs:48) pb_Object.get_msh () pb_Object.ToMesh (MeshTopology preferredTopology) pb_Object.ToMesh () how can I do it?, it would help me a lot
-
Does ProBuilder block certain shapes from being made with the Poly Shape tool? My game is set in a Nazi base, so of course there are going to be swastikas.. it lets me do every shape near a swastika but not a swastika, is this intentional or just a coincidence? and is there a way to remove this if it is intentional? I feel like I should be able to make whatever shapes I'd like even if it is non-pc lol. As you can see from the pictures, the mesh just doesn't update when its a swastika shape..
-
Polyshape - is it possible to use a cylinder extrusion?
Protozoaire posted a topic in Feature Requests
Unity Personal 2017.1 Probuilder Advanced 2.9.4f1 Is it possible to use Poly shape tool to make a roman column for example: