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
2
Question by BDX777 · Jun 04, 2016 at 07:04 AM · ainavmeshpathfindingdynamicmoving platform

AI on dynamic navmeshes and moving platforms? (Drawbridges, Elevators, Monorail trains, etc)

I've noticed that Unity's built in Navmesh system is static-only and does not allow for artificial intelligence to navigate dynamic objects, like lowered drawbridge, moving platforms, elevators, a bridge made up of stacked crates or other dynamic objects, etc. Navmesh Agents can't jump either, they are practically glued to the navigation mesh.

Is there any third-party AI replacement out there that supports this? I've been looking into RAIN and other alternative AI packages.

I saw this video of this rather interesting indie project that showcased artificial intelligence using a navigation mesh to have an AI agent walk into an elevator onto a separate dynamic navmesh, allowing the AI agent to stand in the elevator as it moved. When it arrived at the bottom, the dynamic navmesh seemingly connected to the other navigation mesh, allowing the AI to leave the elevator in this open world game.

I was wondering if something like this could be possible in Unity, Even something like AI in CS:GO where they have the running+jumping capabilities of a player and efficiently generate paths using a navmesh, (even jumping over and crouching under obstacles automatically!) and if there were moving platforms with a dynamic navigation mesh, they could move around on their own while standing on such moving platforms, like elevators, or a sliding catwalk.

It may prove difficult, but it could prove possible with dynamic objects that are not in motion, like a drawbridge that can be raised/lowered, allowing AI to traverse while it is lowered.

I'm trying to think of many ways these kinds of things could be achieved in a well-polished and optimized way. Any ideas? I'm feeling ambitious.

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

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by tiagorpg · Aug 26, 2018 at 07:17 PM

the drawbridges are easier, use a offmesh link deactivated, and activate it when the bridge is down, the elevator i didnt test yet, but you can make the ia wait in front of it until it is in position, then activate the offmesh link and make it enter the elevator, wait again until it is in position activate the other one and them finally when the agent is at the correct mesh order it to go to the target

maybe that is why the usually just teleport people

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 tiagorpg · Aug 26, 2018 at 07:23 PM 0
Share

i just tested the bridge again, making the links auto update and move with the bridge works, so if the bridge is in position the links will be on the mesh, but i dont know why the agent sinks in the bridge, because both of them have colliders, so maybe the off link is really just for jumps

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

76 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

Related Questions

How to make AICharacterController able to walk on walls and ceilings? 0 Answers

Can you bake nav mesh in prefab mode? 0 Answers

Navmesh path without agent 1 Answer

Get NavMeshAgent to look where it's going 0 Answers

Randomize NavMeshAgents path finding with same destination 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