Media Summary: Not really happy with this as the player is only 1 block tall. Will redo it later. CPU Voxel Engine from Scratch - Collision Stress Test Sliding along the walls while only pressing foward/W Sources: Java: ...
Cpu Voxel Engine Collision Detection - Detailed Analysis & Overview
Not really happy with this as the player is only 1 block tall. Will redo it later. CPU Voxel Engine from Scratch - Collision Stress Test Sliding along the walls while only pressing foward/W Sources: Java: ... C++ Minecraft clones are everywhere, unlike many C++ games, I decided to make Minecraft in java with the code is starting to become messy also, i really need to refactor at some point Wanted to post an update since its been a while. Restarted a year or so back and things are looking more like a real game
Basically using a 3D DDA algorithm to tell which block you are looking at.