Quantcast
Channel: Multiplayer
Viewing all articles
Browse latest Browse all 16796

Smooth networking movment?

$
0
0
Hello guys I am new to unity, hope I will manage to explain myself properly...

So I have simple game with simple network system but the movement is laggy even in the same computer :/

so this is what i got:

movment:
Code (CSharp):
  1. input = new Vector3 (Input.GetAxisRaw ("Horizontal"), 0, Input.GetAxisRaw ("Vertical"));
  2.             if (GetComponent<Rigidbody> ().velocity.magnitude < maxSpaad) {
  3.                 GetComponent<Rigidbody> ().AddRelativeForce (input * moveSpeed);...
Smooth networking movment?

Viewing all articles
Browse latest Browse all 16796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>