character BP 与 AI controller 通信

character BP 指定了 AI controller
在这里插入图片描述
AI controller中 使用 “Get Controlled Pawn” + “Cast to …” 获取其Character。
在这里插入图片描述
经过测试, 只能在 "Event BeginPlay"执行 :
在这里插入图片描述
不能在“Construction Script” 执行:
在这里插入图片描述
https://answers.unrealengine.com/questions/278872/cast-to-character-bp-from-ai-controller.html

猜你喜欢

转载自blog.csdn.net/weixin_40012419/article/details/93858905
BP