Photon network + the oculus rift
I am finishing up with a very simple demo using the photon network for unity, the art is all done and most of the code if done but with a few small hiccups.
-The project
the teacher and the students of the class all put on there headsets. and the teacher controls the position of the students, taking them on a tour through an Egyptian queens tomb at Giza.
-the hiccup
To avoid more than one player, player controller, camera, ect. in the scean I have made the player a prefab to be called in and spawned at spawn spot. I would like to have it turn on the players player controller, camera, ect. upon spawning how ever
((MonoBehaviour)myPlayerGO.GetComponent("OVRCameraController")).enabled = true;
((MonoBehaviour)myPlayerGO.GetComponent("OVRGamepadController")).enabled = true;
Dose not seem to be working.
Is there some one on here who could help with some photon unity oculus integrator.
-The project
the teacher and the students of the class all put on there headsets. and the teacher controls the position of the students, taking them on a tour through an Egyptian queens tomb at Giza.
-the hiccup
To avoid more than one player, player controller, camera, ect. in the scean I have made the player a prefab to be called in and spawned at spawn spot. I would like to have it turn on the players player controller, camera, ect. upon spawning how ever
((MonoBehaviour)myPlayerGO.GetComponent("OVRCameraController")).enabled = true;
((MonoBehaviour)myPlayerGO.GetComponent("OVRGamepadController")).enabled = true;
Dose not seem to be working.
Is there some one on here who could help with some photon unity oculus integrator.
