I've generated a 'world' made up of voxels - think minecraft. I'm using AABB for collision. My issue is, what to do when collision occurs, so if moving forwards and collision, stop forward movement, if collision occurred while strafing left, stop left movement. I kind of did this but if I am moving forwards and collision occurs and then I turn the player around say 90 degrees and then move forward, I still can't as still thinks there is a collision...How can I sort this out, do I need some form of plane intersection or normal vector?
Any help is much appreciated. Link to video of issue below: