Forum Discussion
Enmark
7 years agoExpert Protege
Multiplayer & OVRPlayerController prefab? dev for "Polygon Nightmare"
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=29690
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 :)
I have followed the instruction described:
https://unity3d.com/learn/tutorials/topics/multiplayer-networking/identifying-local-player?playlist=29690
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
Replies have been turned off for this discussion
- EnmarkExpert ProtegeNo have not yet but if its a simpler way to do easy multiplayer i will go for Photon! Tanks for the advice :)
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 3 years ago
- 6 years agoAnonymous