Hey guys.
At the moment I’m stuck at collision handling for my 3D game. If I search for it online I only find fancy algorithms to detect if two objects intersect, but not how to handle it correctly.
My problem is that if I check the collision for let’s say the player and a wall and they do intersect it’s basically to late to prevent them from colliding. So how should I handle this the best way especially in 3D space where I have no deltas that says I’m going up or down.
Also where should I handle this stuff. I have a player class that includes the input handling for the movement, I have a Level class that holds the player and the single chunks (yes it’s some kind of minecraft game) and the Chunk class where the actual blocks are.
How does this all fit together?
I hope you have some tips for me =)

Your link seems to be very helpful and I will definitely safe it for later, but for the moment this seems to be a bit too much as I only try to have a basic system to handle collision so that I can move around properly. You still have a good point that one collision handling may cause another one. I’ll keep that in mind. Thank you very much!