- Home /
Navmesh ,jump from door to door.
Hi community,
In my top-down game, I have static cars that the player can enter from one side, and exit the other side. When the character enter the car's door trigger he disappear and jump to the other door.
The problem is the character can't jump to the other side of the car, because the area is defined as not walkable in the LayerMasks.
One solution could be to change the LayerMask before the "jump" and reest it after. The thing is it makes my project quite clunky and heavy to manage.
I think the solution might come from the UpdatePosition flag. But I havent been able to use successfully.
Has anyone any idea about tis isuue ?
bump, I really hate the layer way of doing this. Do you think it is something needing OffLinks and unity pro ? It's like jumping over a hole in the navmesh ( only one navmesh in the scene)
Your answer
![](https://koobas.hobune.stream/wayback/20220613120741im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
NavMesh area, walkable but not accessible. 2 Answers
NavMeshAgent and NavMeshObstacle together, unit jumping a small distance on toggle 2 Answers
Is there a limit on how far a navmesh agent can go? 0 Answers
Getting a navmeshagent back on a navmesh. 1 Answer
SetDestination's and CalculatePath's Path State Return Works Too Late 1 Answer