|
|
@ -18,6 +18,7 @@ public class RemotePlayer : Player { |
|
|
|
|
|
|
|
private void DoAnimation() |
|
|
|
{ |
|
|
|
Debug.Log("Updating remote Animation"); |
|
|
|
Vector3 dir = lastPosition - transform.position; |
|
|
|
Animator.SetFloat("WalkSpeed", dir.magnitude); |
|
|
|
transform.forward = dir.normalized; |
|
|
|