人生如白驹过隙,忽然而已|

云鲸啊

园龄:3年5个月粉丝:5关注:4

unity——导航网格在复杂地形的实现

导航网格容易在有地形且充满树,草之类的地形上覆盖的非常有限,往往其不能实现我们所需要的导航效果,比如不能在充满草地的路上行走而不能越过草地,本文章参考国外论坛的一种解决方法:1.首先将地形数据复制下来(一般在你的主文件夹能找到)截图选择图中的复制Ctrl+D
复制完成后你会获得一份与之前地形一样的文件。
image

选择你的地形,点击右上角的三个点,选择调试,
image
image

地形数据中选中刚才复制的地形模型,再调回法线,然后选择刷子将草地全部刷掉(也可以刷掉你不想进入导航网格的树)。
点击导航,选择合适的参数进行bake,bake后再次将地形选择为调试,将原本的地形数据重新赋到地形上,不要再次点击bake,此时的导航网格为你不带草地的导航网格,如果后续地图有修改重复此操作便可以。

本文作者:云鲸啊

本文链接:https://www.cnblogs.com/yunjing/p/16040616.html

版权声明:本作品采用知识共享署名-非商业性使用-禁止演绎 2.5 中国大陆许可协议进行许可。

posted @   云鲸啊  阅读(384)  评论(0编辑  收藏  举报
点击右上角即可分享
微信分享提示
评论
收藏
关注
推荐
深色
回顶
收起
  1. 1 ocean eyes bili
ocean eyes - bili
00:00 / 00:00
An audio error has occurred.

作词 : Finneas O'Connell

作曲 : Finneas O'Connell

I've been watching you

For some time

Can't stop staring

At those ocean eye

Burning cities

And napalm skies

Fifteen flares inside those ocean eyes

Your ocean eyes

No fair

You really know how to make me cry

When you give me those ocean eyes

I'm scared

I've never fallen from quite this high

Falling into your ocean eyes

Those ocean eyes

I've been walking through

A world gone blind

Can't stop thinking of your diamond mind

Can't stop thinking of your diamond mind

Careful creature

Careful creature

Made friends with time

He left her lonely with a diamond mind

He left her lonely with a diamond mind

And those ocean eyes

And those ocean eyes

No fair

You really know how to make me cry

You really know how to make me cry

When you give me those ocean eyes

I'm scared

I've never fallen from quite this high

I've never fallen from quite this high

Falling into your ocean eyes

Those ocean eyes

Those ocean eyes

No fair

No fair

You really know how to make me cry

You really know how to make me cry

When you give me those ocean eyes

I'm scared

I'm scared

I've never fallen from quite this high

I've never fallen from quite this high

Falling into your ocean eyes

Those ocean eyes

Those ocean eyes