How to procedurally make a crisp object look smooth and curved.
Hello, I am wondering how I can import a regular 2d object like a hexagon and during runtime smooth out its edges to look more globular (for a building game). I looked at procedural scripting and the anatomy of a mesh and how I can calculate normals, however how can this help me to smooth out the edges of a rather crisp object. Thank you for your time.
I'm not sure if I understand your question correctly. How are normals relevant to a 2d Hexagon? How can a 2D object be made "more globular"? Perhaps an image or two explaining what you want to achieve would help :)
Further to Cherno's question, are you trying to tween back and forth between a circle and a hexagon?
The image on the left is the one that I am trying to procedurally create using the image from the right.
Correction: the one on the top is the one that I am trying to create from the image on the bottom.
If you add these images to your question ins$$anonymous$$d you have a better chance of getting a good answer. Also, edit the text a bit. "globular" should probably be "rounded" right?
Answer by WilliamFerdinand · Jan 10, 2017 at 02:17 PM
The first image is the straight hexagon, the next image is what I am trying to make out of the hexagon. I know there would have to be an increased number of vertices during runtime, however how would I be able to do that and make the vertices curve.
Your answer
Follow this Question
Related Questions
I have gotten all these errors when trying to script ? 2 Answers
Is it possible to run Unity faster if using no graphics ? 0 Answers
Post Processing Enable/Disable? 0 Answers
How to swing with a rope like Spider-Man in Unity3D 1 Answer
How to create first person controller and (Script + Physic) 0 Answers