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 /
This question was closed Feb 20, 2017 at 08:06 AM by FFDev01 for the following reason:

The question is answered, right answer was accepted

avatar image
0
Question by FFDev01 · Feb 15, 2017 at 11:06 AM · ainavmeshnavigationlink

How can I enforce off mesh link planning to actually use the link start and end point?

We are currently using Unity's built in navigation system for nav mesh generation and path planning, but we are using our own locomotion system for following the paths returned. We are currently however encountering problems when using off mesh links. The way we expected them to work is if there is path over off mesh links that is shorter or the only one possible due to disjoint navigable regions it will plan over the off mesh link and add waypoints for the link start and end to the path. What we found however is that the path returned does not necessarily use the start and end point.

Below you can see an image with two disjoint navigable regions and two visualized paths returned by Unity's navigation system. Please note that if the off mesh link depicted is removed or disabled no path can be planned between the two path start and end points. A path planned from the start and end of the green line is fine and traverses over the off mesh link, with waypoints on the link start and end. For a path planned between the red line start and end point however we get a path as the red line is depicted and does not traverse over the off mesh link start and end point at all.

The region in which we can move over non-navigable terrain like that seems to increase as the distance between the two links increases. In our use case we want the off mesh link as depicted, and not just on the edge of the nav mesh.

Are we doing anything wrong? Or can we somehow force the nav mesh link to be used? We've already tried to set the link cost override to 0 or very low values.

Best regards,

alt text

offmeshlinkproblem.png (70.2 kB)
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 hexagonius · Feb 16, 2017 at 11:32 PM 0
Share

does the bug also appear when you do the calculation from the right? I just read through the manual and it sounds like pretty solid when it comes to that. I'd do a simple test. simple agent, place him at the red line start and programmatically tell him to go to the red line end. what does he do?

avatar image FFDev01 hexagonius · Feb 20, 2017 at 08:05 AM 0
Share

Hi hexagonius, thank you for for answer. It made us double check everything and find a bug in our path following. The off-mesh link worked as expected and documented.

0 Replies

  • Sort: 

Follow this Question

Answers Answers and Comments

127 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 avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Have players NavMeshAgent ignore Enemy NavMeshObstacle carving 0 Answers

=> How to Avoid NavMeshAgents Clumping Up Together?! <= 1 Answer

navmesh agent won't move on navmesh generated at runtime. 0 Answers

Navmesh, need an destroyable obstacle which will remove it's entity in terms of NavMeshPath 2 Answers

How do I generate a good navmesh for uneven procedurally generated terrain? 2 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