Godot Version
4.5
Question
I’m making an enemy in a game that moves around the perimeter of bodies that are in the group “wall”
I’m doing just fine with it moving perpendicularly, (eg. facing left and meets another wall, will rotate 90 degrees counter-clockwise)
But when it comes to wrapping around corners (eg. if facing left and reaches end of the floor its on, it should rotate 90 degrees clockwise) I’m having issues.
Does anybody know how to do this?