fixed locals, fixed object+world gen

This commit is contained in:
TAASONI3
2023-12-13 15:33:12 +01:00
parent 5583440b7e
commit b07135d8f3
29 changed files with 649 additions and 275 deletions

View File

@@ -62,7 +62,7 @@ public class WorldGenerator : MonoBehaviour
void resetPlayer()
{
if (player.transform.position.y <= -10)
if (player.transform.position.y <= -20)
{
Vector3 position = new Vector3(currentTile.transform.position.x, 50, currentTile.transform.position.z);
player.transform.SetPositionAndRotation(position, player.transform.rotation);