- Home /
Multiplayer VR with Cardboard?
Can someone explain how to make a VR Cardboard camera work for each player in a multiplayer game? My problem is the host player is controlling the direction of the CardboardHead for both players.
I've seen the tutorials for making multiplayer games to isolate player controls with local authority settings in NetworkIdentity. I also understand the need to use something like " if(isLocalPlayer) " to isolate controls in a script. But the CardboardHead is different than keyboard controls. Can anyone explain how to allow each player to control their own VR Cardboard camera?
Thanks!
I want to make a VR based multiplayer shooter game using carboard. Can @jaxogon and @hypergori you help me in telling which and what tutorials to go for please? I am a student and beginner. ,I want to make a VR based multi player shooter game using cardboard. Can any of you please help what and which tutorials should I go for?
Answer by hypergori · Jul 04, 2016 at 01:31 PM
@jaxogon HI, I use OnStartLocalPlayer method on the root Gameobject of the networked player prefab with main camera component disabled . I enabled it and attach the stereo Controller script to the main Camera at runtime using this virtual method. Then It (as document says ) generates eyes, head script and GVRviewer automatically. And It worked for me. 2 players are controlled in my android phone and Unity editor separately.
where did you know all of that? would you like to give me the link of the documentation?
Your answer
Follow this Question
Related Questions
Older Versions of Cardboard SDK? 2 Answers
Daydream publishing errors 1 Answer
Using Cardboard SDK for monocular VR (Magic Window) in 2017.3 0 Answers
Make Galaxy Forces VR multiplayer 0 Answers
Google Cardboard SDK launches app frozen 4 Answers