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

Sending phone rotation via a SyncVar, I must be missing something here?

$
0
0
Hey all

I'm trying to make a small project where a phone build should send its device orientation to the editor, to simulate VR headmovement. Its just to have an ease-of-use way of testing builds without putting your phone in the google cardboard, gearvr or whatever.

I decided to try and send the device orientation via a Vector3 SyncVar, but nothing happens on the receiving end. I set up the phone to act as a server, and the editor to act as a client (SyncVars go from server->client).

I...

Sending phone rotation via a SyncVar, I must be missing something here?

Viewing all articles
Browse latest Browse all 16796

Trending Articles



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