After the solution [Unity] [NavMesh] Door baking can not pass through the door

Disclaimer: This blog seriousness nonsense, the article content can not reference. This article is a blogger original article, shall not be reproduced without the bloggers allowed. Pictures are resources for learning to share use for reference purposes only, not for commercial behavior of the blog used. Communicators conceited. If this blog article written infringe your rights, please reach out to leave a message, we will promptly remove content. https://blog.csdn.net/BuladeMian/article/details/90409024

 

Squares contain BoxCollider, not checked IsTrigger, both Static static objects (so that it can be baked)

 

Left long box was left wall, left the door frame

Right long box is the right wall, the right door

The middle of the square is the door

NavMeshAgent role can not pass through the door of the solution:

From about 1 to pull the door away.

2. a discharge below the door Plane object, so that it can be baked.

3. OffMeshLink assembly, and the StartPointTrans EndPointTrans narrow, so that only the role to pass through the door smoothly.

 

 

 

 

 

 

 

 

 

 

 

 

Guess you like

Origin blog.csdn.net/BuladeMian/article/details/90409024