"SetDestination" can only be called on an active agent that has been placed on a NavMesh.

Posted 虾奋斗的人

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了"SetDestination" can only be called on an active agent that has been placed on a NavMesh. 相关的知识,希望对你有一定的参考价值。

1.设置了 navmesh之后 要bake 也就是烘焙之后 才有效果

2.在unity 中 window->navigation

 

 

 
4.基本上问题应该得以解决;

 

 

以上是关于"SetDestination" can only be called on an active agent that has been placed on a NavMesh. 的主要内容,如果未能解决你的问题,请参考以下文章

Unity中解决“SetDestination“ can only be called on an active agent that has been placed on a NavMesh(代码片

KUKA iiwa — SmartServo随动

错误:- "code":"403", "message":"HMAC 验证失败"

如何将 ["tag":"google","count":1,"tag":"microsoft",&q

"message":"请求失败,状态码 500","name":"Error","stack":&q

"errors":"errors":["detail":"您无权执行此操作。","code":&qu