in the editor create a player and another AI unit called 'dude' making sure you are not in a group with him.
set a waypoint for 'dude' with a house position so he will go inside.
in Game use the console (pressing esc during gameplay) to enter and execute:
dude playMove "AmovPercMwlkSrasWrflDf";
making the unit move forwards... repeat until the unit has hit a wall.
now back him up with:
dude playMove "AmovPercMwlkSrasWrflDb";
observe how the unit will often be stuck and can no longer move. just animates.
also if you run many playMove anims in a row the unit will turnclockwise when the anims are all complete. the amount appears to be dependant on the number of playMoves done in a row.