Reply To: Can See Target

NodeCanvas Forums Support Can See Target Reply To: Can See Target

#16056
Gavalakis
Keymaster

Hello again,

Hmm. There are no other dependencies. The code basically checks the distance, the view angle, and also makes a physics raycast to check if anything is in the way between the agent and the target to see. Maybe in your case the raycast is the problem and it hits something that shouldnt (like the floor)? If this is the case, then I will have to add an offset to make possible to change the raycast origin instead of it being the position of the agent transform (which in most cases it at the feet of a character).

Let me know if the above is indeed the case for you.

Thank you!

Join us on Discord: https://discord.gg/97q2Rjh