摘要:
float distance = FVector::Distance(SelfLocation, TargetLocation); float p = 300.f / distance; DrawDebugPoint(GetWorld(), FMath::Lerp(SelfLocation,TargetLocation,p),20,FColor::Red,false,0.03); 阅读全文
摘要:
Selector和Sequence子节点都是返回true才会执行下一个子节点。 Sequence是从左到右依次执行,左边节点如果返回false,则不会执行右边的节点 Selector会同步执行所有子节点 阅读全文