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

Unet Racing Game Lag

$
0
0
Hi,
I'm developing a racing game and I want to add multiplayer to it. I've learned the basics of Unet and i tried to use the Network Transform component witch unsurprisingly creates terrible lag, no matter the starting parapeters is set to it. So i've created this component manually.
This is my code, I took it from a Youtube tutorial and i'ts pretty basic:

public class Player_SyncPosition : NetworkBehaviour {

[SyncVar]
private Vector3 syncPos;...​

Unet Racing Game Lag

Viewing all articles
Browse latest Browse all 16796

Trending Articles