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

Bullet offset problem

$
0
0
Hi,

I spawn my bullets on client and server and it works. Problem is, bullet's initial position is off. Almost like it missed one update call.

I don't have Network Transform on my bullets (Because they don't have rigidbodies and I don't move them by laws of Physics). I spawn them with Commands (and NetworkServer.Spawn) and with SyncVar I set the velocity on bullets so it can move on clients.

That being said, even on the server bullet spawning is not as it used to (before I turned my local...

Bullet offset problem

Viewing all articles
Browse latest Browse all 16796

Trending Articles



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