Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

networkView.RPC limb movement

$
0
0
I have script that controls the movement of limbs (ex: shoulder, arms, head). I want to make my game multiplayer and I am having problems with converting the limb code. See below:

When a player switches to a certain weapon, OnEnable() is called and supposed to edit the player's limb's position within Primary()
gunScript.cs
Code (csharp):
  1.  
  2.     void OnEnable()
  3.        if(type == 1)
  4.             {
  5.            
  6.                 if(Network.isClient)
  7.                 {...
networkView.RPC limb movement

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



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