Simple AI robot avoiding obstacles

Hello,

I have seen a few tutorials about vehicles using AI to go around obstacles, but they use the vehicle components and that is a bit overkill for my project. I want a simple robot that can navigate through an environment. For now it doesn’t even need to be able to turn in a realistic way ( using 4 wheels) just turn in any direction. The robot is basically a box that moves around, not other functionality as of yet.
Any tips on this?
Thanks in advance.

NavMesh + Robot Pawn with a Floating Movement Component + tell the AI controller where to go.


As far as simplicity is concerned, this is just a handful of nodes. The Top Down template has this set up, it’d be a matter of replacing Manny™ with BoxyBot™.

I once thought of a way to do this with line traces but never fully worked it out. It was for an NPC. Basically two line traces going out at 45 degree angles from the NPC at waist level. And when a wall got to close the idea was to have them spin about 45 degrees left or right to evade the wall and keep moving.