如何在运行时烘焙navmesh [英] How to bake navmesh in runtime

查看:267
本文介绍了如何在运行时烘焙navmesh的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在运行时从脚本中烘焙导航网格.我在Google中进行了搜索,但没有找到.输入图片说明在这里

how to bake navmesh in runtime from script.I searched in Google but did not find.enter image description here

推荐答案

当前,Unity无法烘焙,但是在运行时可以使用NavMesh,但是Unity有一个实验包,可以让您在运行时烘焙NavMesh.这是非常稳定的包装.

Currently, Unity doesn't have a way to bake but NavMesh at runtime BUT there is an experimental package that Unity has that allows you bake a NavMesh at runtime. It is very stable package.

Brackeys与Unity合作编写了教程.

There were tutorials made by Brackeys in collaboration with Unity.

该演示项目可从GitHub上的下载中获得.您可以在其中的脚本中使用它来运行运行时NavMesh.

The demo project is available for download on GitHub. You can use in the scripts in there to bake a runtime NavMesh.

我强烈建议您先观看本教程.

I would highly recommend watching the tutorial first.

这也是Unity网站和教程.

Here is also the link for Unity's site and tutorials on runtime navmesh.

这篇关于如何在运行时烘焙navmesh的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆