|
|
@ -33,7 +33,7 @@ public class RemotePlayer : Player { |
|
|
|
float setSpeed = Mathf.Lerp(LastSpeed, DesiredSpeed, 0.1f); |
|
|
|
|
|
|
|
Animator.SetFloat("WalkSpeed", setSpeed); |
|
|
|
Debug.Log(setSpeed); |
|
|
|
//Debug.Log(setSpeed);
|
|
|
|
LastSpeed = setSpeed; |
|
|
|
|
|
|
|
PlayerModel.transform.LookAt(PlayerModel.transform.position + dir, Vector3.up); |
|
|
|