Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 11 Next capture
2021 2022 2023
1 capture
11 Jun 22 - 11 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 Trixxy · Aug 07, 2015 at 08:41 PM · navmeshgrid

RTS Grid and usable bridges

Hi all, I have an rts project taking shape but I am trying to add bridges that can be crossed by all units the only problem is I am using a navmesh grid to determine passable areas but when I have an object placed for a bridge (currently just a cube) the area still stays red and units are unable to cross, any ideas on how to improve this and make bridges (cubes) passable would be greatly appreciated.

Thanks in advance for any help.

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
1

Answer by cjdev · Aug 07, 2015 at 08:46 PM

You can use Off-mesh Links to link together two separate navmeshes.

Comment
Add comment · Show 3 · 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 Trixxy · Aug 08, 2015 at 11:53 AM 0
Share

Thanks for info however I have a couple of issues with this. I only have free version of Unity so Off-mesh links not available but also I have a custom grid.cs file and It has reference to bridges and tunnels in the code but im not sure how to activate this...

avatar image cjdev · Aug 08, 2015 at 08:45 PM 0
Share

I'm not quite sure what you mean but if you're just trying to add the bridge to the mesh you could add a plane with a transparent material over the blocks so that the baking process recognized the area as passable.

avatar image Trixxy · Aug 09, 2015 at 11:18 AM 0
Share

I'm not using a conventional navmesh the grid.cs and grid_edit.cs generate a customisable grid over the surface of the terrain via the manager object, I can then change the water height and all passable terrain shows white and impassable shows red i have added dropbox link for scripts so u can see what I am using https://www.dropbox.com/sh/rcdjkzx3wibhukr/AAAeQDbT0s7ewAJrUV2rWxjca?dl=0

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Pathfinding unity 3 Answers

Question about tactics movement 0 Answers

Rescaling of grid and tilemap causes it not to destruct properly 0 Answers

Navmesh question 1 Answer

Can you randomise a Navmesh agents rotation 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