- Home /
Question by
ToastandBananas · Jul 03, 2018 at 09:46 PM ·
c#unity 52dnavigation
How to have enemies navigate stairways/elevators similar to Gunpoint and Deadbolt?
I'm making a 2D game in which the enemies will have similar navigation to Gunpoint and Deadbolt. So far they have sight and hearing and will follow/attack the player and navigate to sounds. I just added functional stairways (the player can use them just fine), but I am kind of at a loss as to how to determine which stairway enemies should use depending on their target destination. Anyone have any tips?
Comment
Answer by Mr_Teels · Jul 04, 2018 at 10:43 AM
https://docs.unity3d.com/Manual/nav-BuildingOffMeshLinksAutomatically.html
Nav Mesh, Off Mesh-Links should work.