I’m using the top down blueprint and making a maze game. When I click the other side of a wall the character automatically finds it’s way round itself without the player having to do anything. How can I stop the player from clicking other sides of walls?
Currently, you are just using AI move to, right?
When the player clicks, you can do a line trace to the new point, and see if it collides with anything. If it does, it means there’s a wall in the way.
Something like that ( I imagine this wouldn’t work well with corners, for example ).
yeah i’m not sure how to do that to be honest but sounds like it will work well enough