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

5.2.1p1 NetworkTransform rotation is wrong up to 90-180+ off

$
0
0
Does anyone know why NetworkTransform is unable to sync rotation on a rigidbody, via localhost with 4 total objects in the scene?

I have only one script that moves two AI (host) objects:

Code (CSharp):
  1. using UnityEngine;
  2. using UnityEngine.Networking;
  3. using System.Collections;
  4.  
  5. public class FixedUpdateMove : NetworkBehaviour {
  6.  
  7.     Rigidbody _rigidbody;
  8.  
  9.     void Awake()
  10.     {
  11.         _rigidbody = GetComponent<Rigidbody>();
  12.     }
  13.  
  14.     void FixedUpdate()
  15.     {
  16.           CmdNetMove();
  17.     }...
5.2.1p1 NetworkTransform rotation is wrong up to 90-180+ off

Viewing all articles
Browse latest Browse all 16796

Trending Articles



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