diff --git a/MLAPI/MonoBehaviours/Prototyping/NetworkedTransform.cs b/MLAPI/MonoBehaviours/Prototyping/NetworkedTransform.cs index 64d8abd..d00d7da 100644 --- a/MLAPI/MonoBehaviours/Prototyping/NetworkedTransform.cs +++ b/MLAPI/MonoBehaviours/Prototyping/NetworkedTransform.cs @@ -94,6 +94,15 @@ namespace MLAPI.MonoBehaviours.Prototyping { timeForLerp = 1f / SendsPerSecond; } + + lastSentRot = transform.rotation; + lastSentPos = transform.position; + + lerpStartPos = transform.position; + lerpStartRot = transform.rotation; + + lerpEndPos = transform.position; + lerpStartRot = transform.rotation; } private void Update()