Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 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 beholdgames · Oct 24, 2012 at 12:42 AM · navmeshlayersradiusoverwrite

How to stop navmesh from overwriting one another

I have a giant issue that has brought my game to a halt...

I'm using Unity Pro (w/ Droid Pro) and I'm using Navmesh and Agents. I need to utilize the fix for agents of different sizes or radii. The only solution I found was this,

  1.  Generate unity NavMesh for radius 10 (for big agents)
    
  2.  Store navmesh as regular mesh on level, name it Mesh1. It is stored in a raw format with the folder with current scene. Or you may use any navmesh generator.
    
  3.  Assign Mesh1 NavMeshLayer to a layer "BigOnes"
    
  4.  Generate unity NavMesh for radius 1 (for small agents)
    
  5.  Delete Mesh1 (or it could be done before release)
    
  6.  Assign small agents NavMesh layers mask to go with layer "Default" (or whatever layer name you use for small ones)
    
  7.  Assign big agents NavMesh layers mask to go with "BigOnes"
    
    

Firstly, the third step doesn't make any sense to me, nor anyone else who has replied to these answers and secondly, when I do this "fix", my BigOnes navmesh layer overwrites my default (and other water layer I've created). Ideally, I would like to have 3 layers. One default layer that ALL AI can traverse. Once water layer that only swimming AI can traverse (so far this all works). And then one "bigOnes" layer that only giant enemies can traverse (this doesn't work). This should be very easy to implement, but when I do, my blue default layer and purple water layer are replaced with the "bigOnes" layer. Any ideas or fixes? Any help would be EXTREMELY appreciated!!! Thanks!

~Alex

Comment
Add comment · Show 2
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 user1j3di3j2sa3 · Dec 01, 2012 at 07:37 PM 0
Share

I'm waiting for someone to explain how to store a navmesh. Again this is another thing unity has failed on. Why haven't they made a proper tutorial??

avatar image beholdgames · Dec 01, 2012 at 11:03 PM 0
Share

A tutorial would be awesome. This post is old and I ended up avoiding the problem. If anyone finds a solution, however, please let me know so I can edit the game to better the appearance. $$anonymous$$y game appreciates it!

0 Replies

· Add your reply
  • Sort: 

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

10 People are following this question.

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

Related Questions

How to select a random point within a Navmesh or Layer? 0 Answers

Different NavMesh Layer Costs for Different Units 0 Answers

NavMeshAgent woe when stopped, radius zero, still need off-mesh area. 2 Answers

Unity NavMesh but not NavMeshAgent? (to solve different size agents) 2 Answers

Math Question: Get EnemyObject to NavMeshDestination x Units from Player 1 Answer


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