mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
SendSpawnMessage: added a comment about missing msg.rotation for scene objects
This commit is contained in:
parent
b7e80514b5
commit
c2008654b4
@ -912,6 +912,7 @@ internal static void SendSpawnMessage(NetworkIdentity identity, NetworkConnectio
|
||||
msg.netId = identity.netId;
|
||||
msg.sceneId = identity.sceneId;
|
||||
msg.position = identity.transform.position;
|
||||
// note: no msg.rotation here because client&server both start with same scene (=same scene object rotations)
|
||||
|
||||
// include synch data
|
||||
msg.payload = identity.OnSerializeAllSafely(true);
|
||||
|
Loading…
Reference in New Issue
Block a user