Why are remote players spawned at -1000 ?
Code: Select all
UnityEngine.Object remotePlayer = Instantiate(remotePlayerPrefab, new Vector3(-10000, -10000, -10000), new Quaternion(0,0,0,1));
The problem i have is that my player gets spawned at that position but stays there till it moves the fist time.
Instead of spawning at the spawnpoint.
There is also a remote that stays at that lacation when i'm connected, i have no idea why that is.
This also happens when only 1 player is connected.