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

Sync Rigidbody2D doesnt work

$
0
0
Hi, i have a trouble with "bullets" in my game. I cant see the other player bullets in my screen and viceversa.

Here is my bullet prefab:

[​IMG]

My NetworkManager with the "bullet" registred:

[​IMG]

The code:

Code (CSharp):
  1. public class Shoot : NetworkBehaviour {
  2.  
  3.     public GameObject shot;
  4.     public Transform shotSpawn;
  5.     public float fireRate = 0.5f;
  6.     public float shotForce =...
Sync Rigidbody2D doesnt work

Viewing all articles
Browse latest Browse all 16796

Trending Articles



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