Voxel Game Block Placing/Breaking

Started by The Typholorian, October 20, 2023, 15:39:18

Previous topic - Next topic

The Typholorian

I am making a Voxel game with LWJGL 3.3.3, and I want to implement block placing/breaking. I know how to delete/create the blocks, but I would like to know how to detect which block the camera is looking at, and which side, up to a set distance.