Impassable Object is Passable

Hi,

Super new here. I’m having a problem with making boundaries for my player and enemies. I made several barrier objects with the impassable object option on the pathfinder behavior but my player and enemies still just float right over it.

1 Like

could u provide screenshots? (of event sheet, editor, etc)

Did you add “Obstacle for Pathfinder” behavior to your barrier object?

1 Like

Never rotate the object like the object that the extension else they will ignore it and go right through. Though if you rotate the object with like 90, 180, 240 degrees etc. I dont know if it works while in the negative though try n let us know to help ya further

1 Like

Agreed. Obstacles using the offical pathfinder can’t be rotated bc the pathfinder uses the width and height and those values don’t change when an object is rotated. The Nav Mesh behavior uses the collision box not the entire object and doesn’t have that issue.

I still prefer the offical pathfinder. So, you need to either resize the obstacles in the other direction if the object was a solid color or a tiled sprite or use a seperate object for horizontal and vertical obstacles like a long wall.

1 Like