unreal behaviortree 상태 종료1 Unreal Behavior Tree 'Check Condition Only if Blackboard Changes' Behavior Tree의 Decorator를 Blueprint로 만든 것에서 CPP로 만들다가 발생한 이슈에 대한 풀이이다.이 영상이 의도한대로 구현된 것이다. 일정거리 이상 멀어지면 바로 따라오도록 만들고 싶었다.Blueprint로 만든 것은 이렇게 생겼다. 이걸 그대로 구현하고 싶어서 cpp에는 이렇게 만들었다.#include "Enemy/EnemyAI/Decorator/BTD_IsWithInIdealRange.h"#include "AIController.h"#include "BehaviorTree/BlackboardComponent.h"UBTD_IsWithInIdealRange::UBTD_IsWithInIdealRange(){}bool UBTD_IsWithInIdealRange::Calculate.. 2024. 9. 23. 이전 1 다음