How to use pathfinding modifier

Hello i have an NPC script and it doesnt work with my door which has a PathfindingModifier. Instead of generating a path through the door, it just gives enum.nopath

here is my door:

How do i configure the PathfindingModifier to work with my npc so my npc doesnt consider it an obstance?

(NOTE: i already have physics script that allows him to walk through anything parented under obstacles. as u can see also the door)

1 Like

I just tested one of my AI’s and placed it into a similar environment as yours. Everything seemed to work perfectly normal. It might be something else that is obstructing the path. Try deleting the door and testing to see if that works. If not then it might be a problem with the way you set things up such as setting the AgentRadius to be too large. If you’ve triple checked everything and the problem is still consistent, then I have no solution for you.

it was cause the agent params were too large

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.