This commit is contained in:
Noah
2022-05-17 23:58:00 +02:00
parent 2eda55ad16
commit 856fe1e1c7
5 changed files with 84 additions and 3 deletions
@@ -83,7 +83,7 @@ public class Player : MonoBehaviour
if (lastPosition.x != position.x || lastPosition.y != position.y || lastPosition.z != position.z)
{
client.SendPositionUpdate(transform.position);
positionText.text = position.ToString();
positionText.text = "X: " + (int) position.x + " Y: " + (int) position.y + " Z: " + (int) position.z;
}
if (rotation.w != lastRotation.w || rotation.x != lastRotation.x || rotation.y != lastRotation.y ||