Hi, I'm currently implementing a minecraft-like game in Opengl.
I'm trying to resolve the collision issue.
first option- Putting the colliders to all blocks(bad idea for performance)
second option- Save block information around the player and check collisions. (10 blocks around the player since the size of player is 2 cubes)
Is there a more optimized way to check the collision than the second option?
Thank you!