ControllerAIHumanoid.LerpMotion C# (CSharp) Method

LerpMotion() private method

private LerpMotion ( ) : void
return void
    void LerpMotion()
    {
        if (isServer)
            return;

        myTransform.position = Vector3.Lerp(myTransform.position, syncPos, Time.deltaTime * lerpRate);
        Vector3 newRotation = new Vector3(0f, syncRotY, 0f);
        myTransform.rotation = Quaternion.Lerp(myTransform.rotation, Quaternion.Euler(newRotation), Time.deltaTime * lerpRate);

    }
    void Update()