Question by
anikdem · Oct 02, 2016 at 09:29 AM ·
unity 5rigidbodymultiplayermultiplayer-networkingprojectile
Unity glitches using Ridigbodies as bullets in multiplayer- am I missing something?
So im trying to make an fps using bullets as rigidbodies not raycasts. So I created players and networked them so that they both could move fine (with out any shooting). When I add shooting script where I spawn the rigidbody bullet on the network using [Command] void cmdFire{} and then added it to my if(!LocalPlayer) {don't do anything} script and now it glitches weirdly.
Basically the player moves position and rotation, but the rigidbody spawn does not move, it stays fixed. That, and the bullet movements are really glitchy they move and stop and move and stop...
I will be sooo grateful for ANY help- I will attach a project download.
Comment