I just watched the AI behaviour tutorial and I started to modify it for learning.
I'm having a problem that I try to make the monster chase and attack another monster, but I would like the "target" assigned by the raycast
I added a new "Object Variables" named "Target" and "Type" is "Gameobject", "Set Variable" after the "raycast" "get Game Object" and "Get Variable" before "Get Position".
However, the system doesn't get the Game Object variable and pass null to the Get Position.
Can I have some help with it? Is there any logic problem in my modification?
Customer support service by UserEcho