From 231c60d0c5bae3b10e4796ed3bc76a67dedbaaa4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Albin=20Cor=C3=A9n?= <2108U9@gmail.com> Date: Mon, 23 Apr 2018 17:20:03 +0200 Subject: [PATCH] Fixed start rotation issue on NetworkedTransform --- MLAPI/MonoBehaviours/Prototyping/NetworkedTransform.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MLAPI/MonoBehaviours/Prototyping/NetworkedTransform.cs b/MLAPI/MonoBehaviours/Prototyping/NetworkedTransform.cs index 9e1b817..636088f 100644 --- a/MLAPI/MonoBehaviours/Prototyping/NetworkedTransform.cs +++ b/MLAPI/MonoBehaviours/Prototyping/NetworkedTransform.cs @@ -102,7 +102,7 @@ namespace MLAPI.MonoBehaviours.Prototyping lerpStartRot = transform.rotation; lerpEndPos = transform.position; - lerpStartRot = transform.rotation; + lerpEndRot = transform.rotation; } private void Update()