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

Shooting a gun over UNET, am I understanding this correctly?

$
0
0
Hey guys,

Currently I'm playing aroung with UNET for a bit, and I was wondering whether I am getting this correct. I wanted to have a player shoot a gun he's carrying, which's direction is separate from the player's looking direction. So as a player, I'm sending a signal on when I start/stop shooting, and another one with my aim direction. Sending my aim direction (Vector2) upon each change with my mouse seems the way to go.

However, seeing there is no way a server can check whether this...

Shooting a gun over UNET, am I understanding this correctly?

Viewing all articles
Browse latest Browse all 16796

Trending Articles



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