Robust wall collision model

Hiya!

I’ve spent quite some time in the past looking for a really robust method of having an object collide with wall(s).

The object in motion needs to stop on the verge of the wall then slide along its boundaries. I’ve tried a combination of intersection testing, redirecting, back-stepping and the like but haven’t had much success. All of these methods are either slow or end up glitching in some way with the object shooting off in some strange direction or vibrating its way between solid corners.

Are there any good tutorials out there, or has anyone done this themselves? How would you solve this?