Answer the question
In order to leave comments, you need to log in
AI and stairs. Unity NavMesh. Ways?
I need the bots to crawl up the vertical stairs in the game. At the moment, everything works like this:
1) the bot looks for a path from the player to the goal
2) the bot looks for a path to:
1. From itself to the beginning of the ladder
2. From the end of the ladder to the goal
(For each ladder)
3) the bot compares the paths and finds the optimal one , not considering the length of the stairs.
Can it be done differently? For example - is there such a function in NavMesh? Thank you
PS I'm not satisfied with the way. if there are a lot of stairs and bots, it will hit the optimization, the sequence of stairs is not taken into account
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question