cancel
Showing results for 
Search instead for 
Did you mean: 

Multiplayer & OVRPlayerController prefab? dev for "Polygon Nightmare"

Enmark
Expert Protege
Hi. i'm trying to make my game "Polygon Nightmare" a multiplayer version but got stuck at the (!isLocalPlayer) function!

I have followed the 
instruction described:
https://unity3d.com/learn/tutorials/topics/multiplayer-networking/identifying-local-player?playlist=...
and it works for the OVRPlayerController.cs (moving the localplayer in a multiplayer instantiated prefab)!

But! trying to do the same in the 
OVRCameraRig.cs script to sync the local players touch controller input, doesn't work at all?
I get multiple strange glitches trying to implement !isLocalPlayer. in the CameraRig script (holding the anchor movement input) 

And even that i need a NetworkIdentity component on the OVRCameraRig object, resulting in i get an error you should only have one NetworkIdentity component on the root object?

PLEASE! could anyone describe a way to make  the OVRPlayerController prefab into a working Network local player "achor" wielding prefab  🙂
1 REPLY 1

Enmark
Expert Protege
No have not yet but if its a simpler way to do easy multiplayer i will go for Photon!  Tanks for the advice 🙂