Esempio n. 1
0
 // Use this for initialization
 void Start()
 {
     controllerfly = controller.GetComponent <VRTK.ControllerFly>();
     //collision_state = controllerfly.collision_detection;
     original_speed = controllerfly.fly_speed;
     origin         = transform.position;
 }
Esempio n. 2
0
 // Use this for initialization
 void Start()
 {
     controllerfly   = controller.GetComponent <VRTK.ControllerFly>();
     collision_state = controllerfly.collision_detection;
     original_limit  = controllerfly.fly_speed;
 }