yo, I made the core of a Project Zomboid–style camera system in under an hour, so it’s still rough, but the fundamentals are already working. Also has multi-floor support.
The system detects which floor the player is on by scanning every building in the game (e.g., workspace.Map.Buildings.MyBuilding) and checking collisions with a FloorCollision part inside each floor folder, like MyBuilding.Floor01.FloorCollision. When the player steps onto a different floor, the camera automatically updates. (this may not be optimal)
On top of that, there’s a fully dynamic camera occlusion system (god bless chatgpt). It fades out walls or anything blocking the view between the camera and the player, making interior spaces readable.
I don’t plan on updating this, I don’t need credit - I do wanna see what y’all can do tho.
Place1.rbxl (61,4,KB)