ue4.20 NavigationSystem 过时
unreal吧
全部回复
仅看楼主
level 5
纪智新 楼主
按照官网的更新说明,更新了NavigationSystem ,但是下面代码还是报错
#include "NavigationSystem.h"
UNavigationSystemV1* NavMesh = UNavigationSystemV1::GetCurrent(this);
if (NavMesh) {
const float SearchRadius = 1000.0f;
FNavLocation RandomPt;
const bool bFound = NavMesh->GetRandomReachablePointInRadius(Bot->GetActorLocation(), SearchRadius, RandomPt);
}
2018年10月09日 16点10分 1
level 1
siki学院的吃豆人例子是把,哈哈
2018年12月06日 05点12分 2
level 1
有个XXX.Bulid.cs的文件(XXX是项目名) 里面看看有没有设置包含"NavigationSystem"
2018年12月10日 17点12分 5
感人,多谢
2019年01月10日 10点01分
恩人
2021年06月04日 16点06分
赞,加进去就可以了。
2024年09月24日 06点09分
level 1
楼主现在解决这个问题了吗??
解决了的话能讲一下途径吗?
2019年04月09日 13点04分 6
1