Okay so i want to unload chunks from a player if they are not looking in the direction of which those chunks are located but i also want to load the chunks that the player is see currently how would i go about this?
okay, get the player's facing direction and figure out what chunk they are currently in. Based on the direction, the x/z chunk coordinates will increase and/or decrease