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 /
avatar image
0
Question by Karnah · Apr 14, 2016 at 06:48 AM · uv mappinghexagon

Hexagonal map on terrain

Good day, guys. Firstly, sorry for my English.

So, i wanna write some strategy on hex grid something like Expeditions. Conquistador. Sreenshot: http://images.stopgame.ru/articles/2013/06/21/expeditions_conquistador-1371835113-s.jpg

I think the best way - create terrain and generate tiles using GetHeight. I find two way: create hex prefab and put it into map (but i don't know how i can rotate and skale it) or create map from mesh collider - but i don't know how i can create some material like in screenshot.

So, may be all my ways are wrong or you can give me some advice?

Thank you in advance!

expeditions-conquistador-1371835113-s.jpg (98.6 kB)
Comment
Add comment · Show 1
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 · Apr 14, 2016 at 10:49 AM 0
Share

Don't use prefabs for every tile, performance will by horrible. Generate mesh by code, going through each tile position and add vertices, triangles and uvs for one tile mesh at a time. Have different textures either by a tilemap where one material has a a texture with all tile textures, or use submeshes while generating the mesh to make tile use different materials.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by techspy · Apr 14, 2016 at 12:10 PM

I use these tutorials and I am certain they will point you in the right direction. You have to work extra though to combine the Hex tuts with the Noise ones if you want randomly generated terrain. The ones you specidicaly want are there though. The link is: catlikecoding.com/unity/tutorials/

Comment
Add comment · 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

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

6 People are following this question.

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

Related Questions

Hexagon grid UV mapping 0 Answers

Help mapping Square Texture to Hex Shape Mesh. 1 Answer

can i use a hexagon mesh on a Terrain? 1 Answer

How can I achieve movement on hextile? 0 Answers

Lightmapping Error with combined meshes 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