SebLague / Geographical-Adventures

https://sebastian.itch.io/geographical-adventures
MIT License
3.37k stars 486 forks source link

Details on the tweaks for flat earth #22

Closed noahlavelle closed 2 years ago

noahlavelle commented 2 years ago

Hey, I was wondering what sort of changes you made to the mesh generation system to allow for flat earths (I believe you briefly mentioned it in the second video but didn't go into much detail). Any help as to the rough locations of code that could be changed would be appreciated

SebLague commented 2 years ago

Hello, please see the 'worldIsSpherical' setting in the player class https://github.com/SebLague/Geographical-Adventures/blob/main/Assets/Scripts/Game/Player/Player.cs