Hi everyone :)
I'm currently making a 2D stealth game, including rooms, furniture(TileMap) and guards (KinematicBody2D).
I'm using Navigation2D, and getsimplepath to make the guards patrol around, but when they collide with any furniture- they get stuck.
I thought about a few ways to fix this, but the easiest one yet is to make the guards treat the furniture as walls, and use isonwall statement.
how do I do that?
And if you have a better idea, I would love to hear it, beacause I still havn't figured out how to walk around the furniture. The best idea I've got is to make the guards choose a different destination.
Thank you all in advanced!