Player sliding in-between two objects on voxel world

I did a 10 second search and found this thread: Cubes – A Block World Framework [Update Preview]

…somewhere down that rabbit hole is the source code you are interested in taking inspiration from.