Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
0
Question by WilliamFerdinand · Jan 09, 2017 at 11:37 AM · physicsscript.graphics

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.

Comment
Add comment · Show 5
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Cherno · Jan 09, 2017 at 04:08 PM 0
Share

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 :)

avatar image LoganPark · Jan 10, 2017 at 04:27 AM 0
Share

Further to Cherno's question, are you trying to tween back and forth between a circle and a hexagon?

avatar image WilliamFerdinand · Jan 10, 2017 at 08:24 AM 0
Share

The image on the left is the one that I am trying to procedurally create using the image from the right.

th722m8iye.jpg (3.6 kB)
thstchvfx6.jpg (5.2 kB)
avatar image WilliamFerdinand WilliamFerdinand · Jan 09, 2017 at 11:00 PM 0
Share

Correction: the one on the top is the one that I am trying to create from the image on the bottom.

avatar image Mikael-H WilliamFerdinand · Jan 10, 2017 at 09:28 AM 0
Share

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?

1 Reply

· Add your reply
  • Sort: 
avatar image
0

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.


thstchvfx6.jpg (5.2 kB)
th722m8iye.jpg (3.6 kB)
Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Mikael-H · Jan 10, 2017 at 03:16 PM 0
Share

please edit your question, do not add a reply

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

7 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image

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


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges