How Can I get a path finding ai to pass through certain meshes

How Can I get a path finding ai to pass through certain meshes. I have a pathfinding enemy that follows you but i have no idea how to make it just ignore and pass through certain objects.

You have to do 3 things:

  • create an object channel (name it for example AI_Obstacle):

  • select the obstacle and set the collision:

  • change the settings of the capsule of your AI:

Now, your AI can pass through the obstacle, while you can’t.

This works with regular objects but I forgot to specify, can this work with foliage. or. is there a way to convert foliage to mesh?