- Home /
i can't click the object build on pc vr game googlesamples
well i have download vr game googlesamples
when i build to pc and run it i can't click the object and i can't look arround
so i put a LookArround.js script to Main Camera for look arround
look arround fixed but i can't click the object
i just can't click an object, i dont change any code from sample, i dont have tried changing anything because i dont know what to change to make it work, i just put a lookarround.js to main camera
here the lookarround.js :
 #pragma strict
  var x_rotation : float = 0.0; 
  var y_rotation : float = 0.0;
  
  var x_sensitivty : float = 5.0;
  var y_sensitivty : float = 5.0;
  
  function Update ()
  {
      x_rotation += Input.GetAxis("Mouse X") * 5.0;
      y_rotation -= Input.GetAxis("Mouse Y") * 5.0;
      
      transform.localEulerAngles = Vector3     (y_rotation, x_rotation, 0);
any solutions to fix that ?
Please help me :) for my research study
Your answer
 
 
             Follow this Question
Related Questions
How to update a app's content in runtime? 0 Answers
selected object in array lost in translation 0 Answers
DontDestory gameobject doesn't work on button click after a new scene loads 2 Answers
What is the best method to move object(Ex-Cube)when the player is close to that object? 0 Answers
how can i detected wheter is clicked a children of gameobject? 0 Answers
 koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                