Nawar
February 22, 2022, 10:07pm
1
Hello!
Here is a demo Babylon.js Playground
I made a test location in order to understand how the agent can work. Everything works well, but sometimes the agent itself teleports to the edge of the map. This happens when the agent passes through the points that I marked in the screenshots.
Sometimes the agent teleports to the edge of the map during long transitions from one part of the map to another.
My question is how do I get rid of these teleporters so that the agent just follows its path normally?
sebavan
February 23, 2022, 12:55am
2
@Cedric is the king of the navigation system
1 Like
Cedric
February 23, 2022, 9:23am
3
I can repro! It’s indeed really wierd. Let me take a closer look.
1 Like
Cedric
February 23, 2022, 9:48am
4
I think it’s related to navmesh creation parameters. I could not repro anymore with this config:
Agent Rebounds | Babylon.js Playground (babylonjs.com)
can you check @Nawar ?
2 Likes
Nawar
February 23, 2022, 5:33pm
5
Yes, now it works for all stairs and lifts! Thanks!
2 Likes