RemotePlayer

This commit is contained in:
MarcEricMartel
2023-10-27 14:37:53 -04:00
parent 8970bc33a1
commit 61629b3c8e
6 changed files with 30 additions and 11 deletions

View File

@@ -180,7 +180,7 @@ void Server::Run() {
Log("Debut de la partie...", false, false);
for (auto& [key, conn]: m_players) { // Creation des instances de joueurs et premier sync.
conn->player = new Player(Vector3f(64., 128., 64.));
conn->player = new Player(Vector3f(32.5f, CHUNK_SIZE_Y + 1.8f, 32.5f));
Player *player = conn->player;
Sync sync;
sync.position = player->GetPosition();