LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: The Typholorian on October 20, 2023, 15:39:18

Title: Voxel Game Block Placing/Breaking
Post by: The Typholorian on October 20, 2023, 15:39:18
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.