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