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, it seems, 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 reset it after.
The thing is it makes my project quite cluttered and heavy to manage, and I would like a solution that don't use layermasks.
I think the ideal solution might come from the UpdatePosition flag.
But I haven't been able to use successfully.
The UpdatePosition flag should disconnect the Agent from the NavMesh, thus allowing free positioning of the agent, but I don't get it right somehow.
I know it's quite a general question but nobody has been able to help me with that on Unity Answers and it is not well documented in the manual.
Thanks in advance for any insights
Yaniv